summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-01-04 03:38:29 +0100
committert895 <clombardo169@gmail.com>2024-01-04 04:12:15 +0100
commit1c278974a87b9a94edd4d8b08317071bd36823bf (patch)
tree477bd033976d2780f1ed5512a831dadd3c05ea1b /src/android/app
parentMerge pull request #12554 from german77/directconnect (diff)
downloadyuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.tar
yuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.tar.gz
yuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.tar.bz2
yuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.tar.lz
yuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.tar.xz
yuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.tar.zst
yuzu-1c278974a87b9a94edd4d8b08317071bd36823bf.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/jni/android_config.cpp6
-rw-r--r--src/android/app/src/main/jni/android_config.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/android/app/src/main/jni/android_config.cpp b/src/android/app/src/main/jni/android_config.cpp
index c86aa1c39..08aed3216 100644
--- a/src/android/app/src/main/jni/android_config.cpp
+++ b/src/android/app/src/main/jni/android_config.cpp
@@ -14,12 +14,6 @@ AndroidConfig::AndroidConfig(const std::string& config_name, ConfigType config_t
}
}
-AndroidConfig::~AndroidConfig() {
- if (global) {
- AndroidConfig::SaveAllValues();
- }
-}
-
void AndroidConfig::ReloadAllValues() {
Reload();
ReadAndroidValues();
diff --git a/src/android/app/src/main/jni/android_config.h b/src/android/app/src/main/jni/android_config.h
index d83852de9..693e1e3f0 100644
--- a/src/android/app/src/main/jni/android_config.h
+++ b/src/android/app/src/main/jni/android_config.h
@@ -9,7 +9,6 @@ class AndroidConfig final : public Config {
public:
explicit AndroidConfig(const std::string& config_name = "config",
ConfigType config_type = ConfigType::GlobalConfig);
- ~AndroidConfig() override;
void ReloadAllValues() override;
void SaveAllValues() override;