From fb1987deb52e57cfe877a226a08f82ef15d571f0 Mon Sep 17 00:00:00 2001 From: zilmar Date: Sun, 1 May 2016 12:46:43 +1000 Subject: [PATCH] [Projec64] Update log creation file name --- Source/Project64-core/AppInit.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Project64-core/AppInit.cpp b/Source/Project64-core/AppInit.cpp index 7ee43a7c2..68a31af15 100644 --- a/Source/Project64-core/AppInit.cpp +++ b/Source/Project64-core/AppInit.cpp @@ -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);