mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Don't read/store settings directly from/to SYSCONF
Instead of directly reading/storing settings from/to the SYSCONF, we now store Wii settings to Dolphin's own configuration, and apply them on boot. This prevents issues with settings not being saved, being overridden and lost (if the user opens a dialog that writes to the SYSCONF while a game is running). This also fixes restoring settings from the config cache after a graceful shutdown; for some reason, settings were only restored after a normal shutdown. Fixes issue 9825 and 9826
This commit is contained in:
parent
39fd6dcd5b
commit
afd2f58e29
17 changed files with 175 additions and 129 deletions
|
@ -10,5 +10,9 @@ namespace BootManager
|
|||
{
|
||||
bool BootCore(const std::string& _rFilename);
|
||||
|
||||
// Stop the emulation core and restore the configuration.
|
||||
void Stop();
|
||||
// Synchronise Dolphin's configuration with the SYSCONF (which may have changed during emulation),
|
||||
// and restore settings that were overriden by per-game INIs or for some other reason.
|
||||
void RestoreConfig();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue