mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Unify GetGameIniFilenames
This deduplicates code and fixes the new config system's lack of 1-char game ID INI support.
This commit is contained in:
@ -6,7 +6,9 @@
|
||||
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
@ -17,6 +19,8 @@ class ConfigLayerLoader;
|
||||
|
||||
namespace ConfigLoaders
|
||||
{
|
||||
std::vector<std::string> GetGameIniFilenames(const std::string& id, std::optional<u16> revision);
|
||||
|
||||
std::unique_ptr<Config::ConfigLayerLoader> GenerateGlobalGameConfigLoader(const std::string& id,
|
||||
u16 revision);
|
||||
std::unique_ptr<Config::ConfigLayerLoader> GenerateLocalGameConfigLoader(const std::string& id,
|
||||
|
Reference in New Issue
Block a user