Some game config button cleanup on pause screen

This commit is contained in:
Henrik Rydgård committed 2025-12-25 13:32:38 +01:00
1 parent ae856c5d45
commit 2d39a88253
4 files changed
+29 -15

No files matched your search

+6
View File
@@ -1580,12 +1580,18 @@ void Config::RestoreDefaults(RestoreSettingsBits whatToRestore, bool log) {
}
bool Config::HasGameConfig(std::string_view gameId) {
if (gameId.empty()) {
return false;
}
bool exists = false;
Path fullIniFilePath = GetGameConfigFilePath(searchPath_, gameId, &exists);
return exists;
}
bool Config::CreateGameConfig(std::string_view gameId) {
if (gameId.empty()) {
return false;
}
bool exists;
Path fullIniFilePath = GetGameConfigFilePath(searchPath_, gameId, &exists);