mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
LogManager: Hook up save/load, remove "long names"
This commit is contained in:
1 parent
50b722152a
commit
cfe2621604
6 files changed
+62
-46
No files matched your search
+2
-2
@@ -287,7 +287,6 @@ std::vector<std::wstring> GetWideCmdLine() {
|
||||
wargv = CommandLineToArgvW(GetCommandLineW(), &wargc);
|
||||
|
||||
std::vector<std::wstring> wideArgs(wargv, wargv + wargc);
|
||||
|
||||
return wideArgs;
|
||||
}
|
||||
|
||||
@@ -353,6 +352,8 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
}
|
||||
}
|
||||
|
||||
LogManager::Init();
|
||||
|
||||
// On Win32 it makes more sense to initialize the system directories here
|
||||
// because the next place it was called was in the EmuThread, and it's too late by then.
|
||||
InitSysDirectories();
|
||||
@@ -429,7 +430,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
g_Config.bFullScreen = true;
|
||||
}
|
||||
|
||||
LogManager::Init();
|
||||
// Consider at least the following cases before changing this code:
|
||||
// - By default in Release, the console should be hidden by default even if logging is enabled.
|
||||
// - By default in Debug, the console should be shown by default.
|
||||
|
||||
Reference in new issue
Block a user