mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Log why the config is being saved (we seem to do it a bit much at times)
This commit is contained in:
1 parent
24510b8187
commit
d91f706206
16 files changed
+33
-35
No files matched your search
@@ -159,7 +159,7 @@ void MainThreadFunc() {
|
||||
if (performingRestart) {
|
||||
// Okay, switching graphics didn't work out. Probably a driver bug - fallback to restart.
|
||||
// This happens on NVIDIA when switching OpenGL -> Vulkan.
|
||||
g_Config.Save();
|
||||
g_Config.Save("switch_graphics_failed");
|
||||
W32Util::ExitAndRestart();
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ void MainThreadFunc() {
|
||||
g_Config.iGPUBackend = (int)nextBackend;
|
||||
// Clear this to ensure we try their selection.
|
||||
g_Config.sFailedGPUBackends.clear();
|
||||
g_Config.Save();
|
||||
g_Config.Save("save_graphics_fallback");
|
||||
|
||||
W32Util::ExitAndRestart();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user