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);