Fix some ini file misbehaviors

This commit is contained in:
Henrik Rydgård committed 2025-08-31 14:13:12 +02:00
1 parent 3056e977cc
commit 6e5c567809
5 files changed
+51 -40

No files matched your search

+3 -1
View File
@@ -548,7 +548,9 @@ int Config::NextValidBackend() {
#endif
// They've all failed. Let them try the default - or on Android, OpenGL.
sFailedGPUBackends += ",ALL";
if (sFailedGPUBackends.find(",ALL") == std::string::npos) {
sFailedGPUBackends += ",ALL";
}
ERROR_LOG(Log::Loader, "All graphics backends failed");
#if PPSSPP_PLATFORM(ANDROID)
return (int)GPUBackend::OPENGL;