mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new setting, rather than having hacks to use a temp var.
This commit is contained in:
1 parent
8b27bc51f5
commit
aa0055cea7
12 files changed
+49
-43
No files matched your search
@@ -442,7 +442,6 @@ static ConfigSetting graphicsSettings[] = {
|
||||
ReportedConfigSetting("FrameRate", &g_Config.iFpsLimit, 0, true, true),
|
||||
#ifdef _WIN32
|
||||
ConfigSetting("FrameSkipUnthrottle", &g_Config.bFrameSkipUnthrottle, false, true, true),
|
||||
ConfigSetting("TemporaryGPUBackend", &g_Config.iTempGPUBackend, -1, false),
|
||||
ConfigSetting("RestartRequired", &g_Config.bRestartRequired, false, false),
|
||||
#else
|
||||
ConfigSetting("FrameSkipUnthrottle", &g_Config.bFrameSkipUnthrottle, true),
|
||||
@@ -943,10 +942,6 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
|
||||
CleanRecent();
|
||||
|
||||
#ifdef _WIN32
|
||||
iTempGPUBackend = iGPUBackend;
|
||||
#endif
|
||||
|
||||
// Fix Wrong MAC address by old version by "Change MAC address"
|
||||
if (sMACAddress.length() != 17)
|
||||
sMACAddress = CreateRandMAC();
|
||||
|
||||
Reference in new issue
Block a user