git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@285 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-08-23 19:50:28 +00:00
parent 657dfff6f8
commit 8f6d7ad5e9
10 changed files with 40 additions and 6 deletions

View File

@ -51,8 +51,11 @@ CDebugger_Log::CDebugger_Log(const char* _szShortName, const char* _szName) :
strcpy((char*)m_szName, _szName);
strcpy((char*)m_szShortName, _szShortName);
sprintf((char*)m_szFilename, "Logs/%s.txt", _szName);
#ifdef _WIN32
_unlink(m_szFilename);
#else
unlink(m_szFilename);
#endif
}
CDebugger_Log::~CDebugger_Log(void)