summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar t8952024-02-21 08:13:54 -0500
committerGravatar t8952024-02-21 08:13:54 -0500
commit9a3fd76b25f0db3804789891a10c51568121bf0c (patch)
treeaeabac4c45c534a2e6678a2472902ea2dfc2b94d /src
parentMerge pull request #13095 from liamwhite/ns-oops (diff)
downloadyuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.gz
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.xz
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.zip
android: Enable all controller styles on emulation shutdown
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/jni/native.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp
index 4ea82e217..1226219ad 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -292,6 +292,9 @@ void EmulationSession::ShutdownEmulation() {
292 // Unload user input. 292 // Unload user input.
293 m_system.HIDCore().UnloadInputDevices(); 293 m_system.HIDCore().UnloadInputDevices();
294 294
295 // Enable all controllers
296 m_system.HIDCore().SetSupportedStyleTag({Core::HID::NpadStyleSet::All});
297
295 // Shutdown the main emulated process 298 // Shutdown the main emulated process
296 if (m_load_result == Core::SystemResultStatus::Success) { 299 if (m_load_result == Core::SystemResultStatus::Success) {
297 m_system.DetachDebugger(); 300 m_system.DetachDebugger();