mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Config: Don't reset a saved Metal backend to the default
The range check predates GPUBackend::METAL (4), so the setting was lost on every load, and the app came back up on Vulkan. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6a668eed27
commit
27edb50409
1 file changed
+1
-1
+1
-1
@@ -1611,7 +1611,7 @@ void Config::PostLoadCleanup() {
|
||||
|
||||
if (iGPUBackend == 1) { // d3d9, no longer supported. Fall back to D3D11.
|
||||
iGPUBackend = (int)GPUBackend::DIRECT3D11;
|
||||
} else if (iGPUBackend < 0 || iGPUBackend > 3) {
|
||||
} else if (iGPUBackend < 0 || iGPUBackend > (int)GPUBackend::METAL) {
|
||||
iGPUBackend = (int)DefaultGPUBackend();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user