Skip to content

Commit

Permalink
Update Core.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lastpenguin authored Sep 30, 2017
1 parent a6899dd commit a2f0f51
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions Project_C/SourceCode/Core/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ namespace CORE{
}


// 가상함수를 거치지 않는 의도로 사용하려 했지만
// 인라인화가 되지 않는 이 함수가 중간에 끼어들어 오히려 명령어(어셈블리기준)가 더 많아진다
// 가상함수를 거치지 않는 의도로 사용하려 했지만
// 인라인화가 되지 않는 이 함수가 중간에 끼어들어 오히려 명령어(어셈블리기준)가 더 많아진다
#if _DEF_USING_DEBUG_MEMORY_LEAK
CORE_API void* CoreMemAlloc(size_t size, const char* _FileName, int _Line)
{
Expand Down Expand Up @@ -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
}
}
Expand Down Expand Up @@ -124,7 +124,7 @@ namespace CORE{
{
if(!pLog)
return;
// 컴파일 시기
// 컴파일 시기
auto pT = mFN_Query_CompileTime();
if(pT)
{
Expand All @@ -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")
Expand Down Expand Up @@ -185,4 +185,4 @@ namespace CORE{
{
g_isLimitedVersion = _ON;
}
}
}

0 comments on commit a2f0f51

Please sign in to comment.