diff options
author | flodavid <[email protected]> | 2023-12-16 18:26:26 +0100 |
---|---|---|
committer | flodavid <[email protected]> | 2024-01-08 18:43:56 +0100 |
commit | 63b835f822e5167aa529f2c27c5df136defef6eb (patch) | |
tree | 45e69dabebeb24510902818d8e5d78e39bd4a365 /src/yuzu_cmd | |
parent | 82b58668edcb078896a1184d158a08c58f841dd5 (diff) | |
download | yuzu-mainline-63b835f822e5167aa529f2c27c5df136defef6eb.tar.gz yuzu-mainline-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')
-rw-r--r-- | src/yuzu_cmd/sdl_config.cpp | 4 |
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 @@ #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(); |