mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-20 17:59:08 +02:00
Fix #7807. Don't need to read a .ini to check that it exists..
This commit is contained in:
1 parent
487f184cd9
commit
2eb45f5016
1 file changed
+1
-4
+1
-4
@@ -1124,10 +1124,7 @@ void Config::RestoreDefaults() {
|
||||
bool Config::hasGameConfig(const std::string &pGameId)
|
||||
{
|
||||
std::string fullIniFilePath = getGameConfigFile(pGameId);
|
||||
|
||||
IniFile existsCheck;
|
||||
bool exists = existsCheck.Load(fullIniFilePath);
|
||||
return exists;
|
||||
return File::Exists(fullIniFilePath);
|
||||
}
|
||||
|
||||
void Config::changeGameSpecific(const std::string &pGameId)
|
||||
|
||||
Reference in new issue
Block a user