mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 14:05:45 +00:00
config: Custom profile detection fixes
Also only reads/writes applicable configs for the custom profiles.
This commit is contained in:
parent
8a1c99d57b
commit
736a034af8
6 changed files with 109 additions and 65 deletions
|
@ -34,6 +34,7 @@ public:
|
|||
|
||||
void ReadControlPlayerValue(std::size_t player_index);
|
||||
void SaveControlPlayerValue(std::size_t player_index);
|
||||
void ClearControlPlayerValues();
|
||||
|
||||
const std::string& GetConfigFilePath() const;
|
||||
|
||||
|
@ -58,6 +59,7 @@ public:
|
|||
|
||||
private:
|
||||
void Initialize(const std::string& config_name);
|
||||
bool IsCustomConfig();
|
||||
|
||||
void ReadValues();
|
||||
void ReadPlayerValue(std::size_t player_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue