summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-12-12 17:37:30 +0100
committert895 <clombardo169@gmail.com>2023-12-12 23:25:37 +0100
commit5acffe75dfce8e3965ea4d472fc4c42944c7b874 (patch)
tree2eebfb684b2664d29a91afe25634b4785da7d2a6 /src/android
parentandroid: Add game dir entries to FilesystemProvider (diff)
downloadyuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.tar
yuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.tar.gz
yuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.tar.bz2
yuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.tar.lz
yuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.tar.xz
yuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.tar.zst
yuzu-5acffe75dfce8e3965ea4d472fc4c42944c7b874.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/jni/native_config.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/android/app/src/main/jni/native_config.cpp b/src/android/app/src/main/jni/native_config.cpp
index 56989bde8..9e0a33c0f 100644
--- a/src/android/app/src/main/jni/native_config.cpp
+++ b/src/android/app/src/main/jni/native_config.cpp
@@ -21,13 +21,13 @@ std::unique_ptr<AndroidConfig> per_game_config;
template <typename T>
Settings::Setting<T>* getSetting(JNIEnv* env, jstring jkey) {
auto key = GetJString(env, jkey);
- auto basicSetting = Settings::values.linkage.by_key[key];
- if (basicSetting != 0) {
- return static_cast<Settings::Setting<T>*>(basicSetting);
+ auto basic_setting = Settings::values.linkage.by_key[key];
+ if (basic_setting != 0) {
+ return static_cast<Settings::Setting<T>*>(basic_setting);
}
- auto basicAndroidSetting = AndroidSettings::values.linkage.by_key[key];
- if (basicAndroidSetting != 0) {
- return static_cast<Settings::Setting<T>*>(basicAndroidSetting);
+ auto basic_android_setting = AndroidSettings::values.linkage.by_key[key];
+ if (basic_android_setting != 0) {
+ return static_cast<Settings::Setting<T>*>(basic_android_setting);
}
LOG_ERROR(Frontend, "[Android Native] Could not find setting - {}", key);
return nullptr;