[Projec64] Update log creation file name

This commit is contained in:
zilmar 2016-05-01 12:46:43 +10:00
parent e4e3b1aa77
commit fb1987deb5
1 changed files with 1 additions and 2 deletions

View File

@ -37,12 +37,11 @@ void InitializeLog(void)
void AddLogModule(void)
{
CPath LogFilePath(g_Settings->LoadStringVal(Directory_Log).c_str(), "");
CPath LogFilePath(g_Settings->LoadStringVal(Directory_Log).c_str(), "Project64.log");
if (!LogFilePath.DirectoryExists())
{
LogFilePath.DirectoryCreate();
}
LogFilePath.SetNameExtension("Project64.log");
g_LogFile = new CTraceFileLog(LogFilePath, g_Settings->LoadDword(Debugger_AppLogFlush) != 0, CLog::Log_New, 500);
TraceAddModule(g_LogFile);