-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6899dd
commit a2f0f51
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,8 @@ namespace CORE{ | |
} | ||
|
||
|
||
// 가상함수를 거치지 않는 의도로 사용하려 했지만 | ||
// 인라인화가 되지 않는 이 함수가 중간에 끼어들어 오히려 명령어(어셈블리기준)가 더 많아진다 | ||
// 가상함수를 거치지 않는 의도로 사용하려 했지만 | ||
// 인라인화가 되지 않는 이 함수가 중간에 끼어들어 오히려 명령어(어셈블리기준)가 더 많아진다 | ||
#if _DEF_USING_DEBUG_MEMORY_LEAK | ||
CORE_API void* CoreMemAlloc(size_t size, const char* _FileName, int _Line) | ||
{ | ||
|
@@ -71,22 +71,22 @@ namespace CORE{ | |
|
||
if(g_isLimitedVersion && g_bThisDLL_is_First) | ||
{ | ||
_MACRO_MESSAGEBOX__OK(_T("베타 버전입니다..."), | ||
_T("Memory Pool Version(%u.%04u)\n") | ||
_MACRO_MESSAGEBOX__OK(_T("Beta Version..."), | ||
_T("Memory Pool Version(%u.%u)\n") | ||
_T("[email protected]") | ||
, mFN_Query_MemoryPool_Version_Major(), mFN_Query_MemoryPool_Version_Minor() | ||
); | ||
} | ||
else if(!g_isLimitedVersion && gc_isLimitedVersion__Default) | ||
{ | ||
#ifdef _DEBUG | ||
// 디버그 버전은 비공개이기 때문에 처리할 것은 없다 | ||
// 디버그 버전은 비공개이기 때문에 처리할 것은 없다 | ||
#else | ||
// TODO: 사용자 파일 변조발견, 처리 | ||
// TODO: 사용자 파일 변조발견, 처리 | ||
//---------------------------------------------------------------- | ||
// 차후 수정 | ||
// 이 로직은 위, 안내 메세지와 근접하지 않아야 하며 | ||
// 디스어셈블리리 실행가능성을 분석하기 여렵게 해야 한다 | ||
// 차후 수정 | ||
// 이 로직은 위, 안내 메세지와 근접하지 않아야 하며 | ||
// 디스어셈블리리 실행가능성을 분석하기 여렵게 해야 한다 | ||
#endif | ||
} | ||
} | ||
|
@@ -124,7 +124,7 @@ namespace CORE{ | |
{ | ||
if(!pLog) | ||
return; | ||
// 컴파일 시기 | ||
// 컴파일 시기 | ||
auto pT = mFN_Query_CompileTime(); | ||
if(pT) | ||
{ | ||
|
@@ -138,19 +138,19 @@ namespace CORE{ | |
, t.Minute | ||
, t.Second); | ||
} | ||
// 메모리풀 버전 | ||
// 메모리풀 버전 | ||
::UTIL::TLogWriter_Control::sFN_WriteLog(pLog, FALSE, _T("\tMemory Pool Version(%u.%u)") | ||
, mFN_Query_MemoryPool_Version_Major(), mFN_Query_MemoryPool_Version_Minor()); | ||
// 실행 디렉토리 | ||
// 실행 디렉토리 | ||
::UTIL::TLogWriter_Control::sFN_WriteLog(pLog, FALSE, | ||
_T("\tCurrent Directory\n") | ||
_T("\t\t%s"), m_szCurrentDirectory); | ||
// DLL 경로 | ||
// DLL 경로 | ||
if(m_pszCoreDLL_FileName) | ||
::UTIL::TLogWriter_Control::sFN_WriteLog(pLog, FALSE, | ||
_T("\tCore DLL File Path\n") | ||
_T("\t\t%s"), m_szCoreDLL_FilePath); | ||
// EXE 파일 경로 | ||
// EXE 파일 경로 | ||
if(m_pszExecute_FileName) | ||
::UTIL::TLogWriter_Control::sFN_WriteLog(pLog, FALSE, | ||
_T("\tExecute File Path\n") | ||
|
@@ -185,4 +185,4 @@ namespace CORE{ | |
{ | ||
g_isLimitedVersion = _ON; | ||
} | ||
} | ||
} |