Skip to content

Commit

Permalink
Merge pull request #8735 from Ebola16/INIT
Browse files Browse the repository at this point in the history
Android: Reload Wii Remote settings upon saving them
  • Loading branch information
JosJuice committed Apr 17, 2020
2 parents 9de3717 + 0b66310 commit cf67b20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -181,6 +181,7 @@ public void saveSettings(SettingsActivityView view)

// Notify the native code of the changes
NativeLibrary.ReloadConfig();
NativeLibrary.ReloadWiimoteConfig();
}
else
{
Expand Down
1 change: 1 addition & 0 deletions Source/Android/jni/MainAndroid.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit cf67b20

Please sign in to comment.