summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/sdl_config.cpp
diff options
context:
space:
mode:
authorGravatar flodavid2023-12-16 18:26:26 +0100
committerGravatar flodavid2024-01-08 18:43:56 +0100
commit63b835f822e5167aa529f2c27c5df136defef6eb (patch)
tree45e69dabebeb24510902818d8e5d78e39bd4a365 /src/yuzu_cmd/sdl_config.cpp
parentMerge pull request #12608 from szepeviktor/typos (diff)
downloadyuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.gz
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.xz
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.zip
Save profile name used
- Save the profile name in global config - Read the profile name when reading the global config
Diffstat (limited to 'src/yuzu_cmd/sdl_config.cpp')
-rw-r--r--src/yuzu_cmd/sdl_config.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu_cmd/sdl_config.cpp b/src/yuzu_cmd/sdl_config.cpp
index e81bf5d45..995114510 100644
--- a/src/yuzu_cmd/sdl_config.cpp
+++ b/src/yuzu_cmd/sdl_config.cpp
@@ -5,6 +5,7 @@
5#define SDL_MAIN_HANDLED 5#define SDL_MAIN_HANDLED
6#include <SDL.h> 6#include <SDL.h>
7 7
8#include "common/logging/log.h"
8#include "input_common/main.h" 9#include "input_common/main.h"
9#include "sdl_config.h" 10#include "sdl_config.h"
10 11
@@ -64,7 +65,7 @@ void SdlConfig::ReloadAllValues() {
64} 65}
65 66
66void SdlConfig::SaveAllValues() { 67void SdlConfig::SaveAllValues() {
67 Save(); 68 SaveValues();
68 SaveSdlValues(); 69 SaveSdlValues();
69} 70}
70 71
@@ -177,6 +178,7 @@ void SdlConfig::ReadHidbusValues() {
177} 178}
178 179
179void SdlConfig::SaveSdlValues() { 180void SdlConfig::SaveSdlValues() {
181 LOG_DEBUG(Config, "Saving SDL configuration values");
180 SaveSdlControlValues(); 182 SaveSdlControlValues();
181 183
182 WriteToIni(); 184 WriteToIni();