diff options
| author | zackhow <zackhow@gmail.com> | 2018-10-13 07:17:14 -0400 |
|---|---|---|
| committer | zackhow <zackhow@gmail.com> | 2019-01-19 23:21:56 -0500 |
| commit | 1db02c14c7d289eb2e6466928fe7ccf7e074ba7a (patch) | |
| tree | 4bca426b0f60397cd0561806a8e1d1297b8a39d7 /Source/Android/jni/MainAndroid.cpp | |
| parent | 47d6406fd4492d46613dbb107bc3deb36fd3254d (diff) | |
Android: add IR width/height/center option in emu menu
This sets the IR/Width, IR/Height, and IR/Center per game, so a controller profile is used
to save the value, then enable the profile in the game ini, then reload the
control configs.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index c606345abe..8fe7c4942f 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -571,6 +571,12 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_RefreshWiimo WiimoteReal::Refresh(); } +JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_ReloadWiimoteConfig(JNIEnv* env, + jobject obj) +{ + Wiimote::LoadConfig(); +} + static void Run(const std::vector<std::string>& paths, bool first_open, std::optional<std::string> savestate_path = {}, bool delete_savestate = false) { |
