Merge pull request #8735 from Ebola16/INIT

Android: Reload Wii Remote settings upon saving them
This commit is contained in:
JosJuice 2020-04-17 11:31:18 +02:00 committed by GitHub
commit cf67b2093e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
}