summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-12-29 05:24:23 +0100
committert895 <clombardo169@gmail.com>2023-12-30 21:11:36 +0100
commit051afd21e730005ea24ce3c8743962beb3085031 (patch)
tree268c3ce0d0031e233555389c97a3eed530e9374b /src/android
parentandroid: Migrate theme settings to ini (diff)
downloadyuzu-051afd21e730005ea24ce3c8743962beb3085031.tar
yuzu-051afd21e730005ea24ce3c8743962beb3085031.tar.gz
yuzu-051afd21e730005ea24ce3c8743962beb3085031.tar.bz2
yuzu-051afd21e730005ea24ce3c8743962beb3085031.tar.lz
yuzu-051afd21e730005ea24ce3c8743962beb3085031.tar.xz
yuzu-051afd21e730005ea24ce3c8743962beb3085031.tar.zst
yuzu-051afd21e730005ea24ce3c8743962beb3085031.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/jni/android_config.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/android/app/src/main/jni/android_config.cpp b/src/android/app/src/main/jni/android_config.cpp
index 9c3a5a9b2..fb17ab6f6 100644
--- a/src/android/app/src/main/jni/android_config.cpp
+++ b/src/android/app/src/main/jni/android_config.cpp
@@ -114,8 +114,9 @@ void AndroidConfig::SavePathValues() {
for (size_t i = 0; i < AndroidSettings::values.game_dirs.size(); ++i) {
SetArrayIndex(i);
const auto& game_dir = AndroidSettings::values.game_dirs[i];
- WriteSetting(std::string("path"), game_dir.path);
- WriteSetting(std::string("deep_scan"), game_dir.deep_scan, std::make_optional(false));
+ WriteStringSetting(std::string("path"), game_dir.path);
+ WriteBooleanSetting(std::string("deep_scan"), game_dir.deep_scan,
+ std::make_optional(false));
}
EndArray();