mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 21:46:23 +02:00
Android: Reload game config on storage permission.
Before, we were saving out the global values on top of the game config while loading them. We seem to get the storage permission event twice sometimes, which is what causes this to happen after we've already loaded the game config.
This commit is contained in:
1 parent
fc8306dde1
commit
9d7dc97c3e
3 files changed
+12
-3
No files matched your search
+1
-1
@@ -1174,7 +1174,7 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
// and I can't risk it before 1.9.0.
|
||||
int gpuBackend = g_Config.iGPUBackend;
|
||||
ILOG("Reloading config after storage permission grant.");
|
||||
g_Config.Load();
|
||||
g_Config.Reload();
|
||||
PostLoadConfig();
|
||||
g_Config.iGPUBackend = gpuBackend;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user