diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp index 20c62d8f8f..ae363bb890 100644 --- a/Source/Core/Core/ConfigManager.cpp +++ b/Source/Core/Core/ConfigManager.cpp @@ -973,6 +973,12 @@ std::vector SConfig::GetGameIniFilenames(const std::string& id, u16 { std::vector filenames; + if (id.empty()) + return filenames; + + // INIs that match the system code (unique for each Virtual Console system) + filenames.push_back(id.substr(0, 1) + ".ini"); + // INIs that match all regions if (id.size() >= 4) filenames.push_back(id.substr(0, 3) + ".ini");