Android: Reload Wii Remote settings upon saving them

This commit is contained in:
Ryan Meredith 2020-04-10 10:23:32 -04:00
parent 960ba4fe5e
commit 0b66310957
2 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,7 @@ public class Settings
// Notify the native code of the changes
NativeLibrary.ReloadConfig();
NativeLibrary.ReloadWiimoteConfig();
}
else
{

View File

@ -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();
}