summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-04-17 11:31:18 +0200
committerGitHub <noreply@github.com>2020-04-17 11:31:18 +0200
commitcf67b2093e4e0ac02826385bbd1225d04ae59c02 (patch)
tree4768902e5b56cab39085502edf8ddda5873b2353 /Source/Android
parent9de3717c500462de6724bf8033584b1ed0645064 (diff)
parent0b663109572a500c4ea54b4f466f55dc3cfc6a52 (diff)
Merge pull request #8735 from Ebola16/INIT
Android: Reload Wii Remote settings upon saving them
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/Settings.java1
-rw-r--r--Source/Android/jni/MainAndroid.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/Settings.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/Settings.java
index fcbf6c60ed..ea3d9f5a3a 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/Settings.java
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/model/Settings.java
@@ -181,6 +181,7 @@ public class Settings
// Notify the native code of the changes
NativeLibrary.ReloadConfig();
+ NativeLibrary.ReloadWiimoteConfig();
}
else
{
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp
index 9b081b9ad1..2bebbc4e8d 100644
--- a/Source/Android/jni/MainAndroid.cpp
+++ b/Source/Android/jni/MainAndroid.cpp
@@ -597,6 +597,7 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_RefreshWiimo
JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_ReloadWiimoteConfig(JNIEnv* env,
jobject obj)
{
+ WiimoteReal::LoadSettings();
Wiimote::LoadConfig();
}