Merge pull request #12380 from flodavid/save-profile
Save configuration profile name used by players
This commit is contained in:
commit
46c2435235
7 changed files with 55 additions and 12 deletions
|
@ -5,6 +5,7 @@
|
|||
#define SDL_MAIN_HANDLED
|
||||
#include <SDL.h>
|
||||
|
||||
#include "common/logging/log.h"
|
||||
#include "input_common/main.h"
|
||||
#include "sdl_config.h"
|
||||
|
||||
|
@ -64,7 +65,7 @@ void SdlConfig::ReloadAllValues() {
|
|||
}
|
||||
|
||||
void SdlConfig::SaveAllValues() {
|
||||
Save();
|
||||
SaveValues();
|
||||
SaveSdlValues();
|
||||
}
|
||||
|
||||
|
@ -177,6 +178,7 @@ void SdlConfig::ReadHidbusValues() {
|
|||
}
|
||||
|
||||
void SdlConfig::SaveSdlValues() {
|
||||
LOG_DEBUG(Config, "Saving SDL configuration values");
|
||||
SaveSdlControlValues();
|
||||
|
||||
WriteToIni();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue