summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-21 14:13:54 +0100
committert895 <clombardo169@gmail.com>2024-02-21 14:13:54 +0100
commit9a3fd76b25f0db3804789891a10c51568121bf0c (patch)
treeaeabac4c45c534a2e6678a2472902ea2dfc2b94d
parentMerge pull request #13095 from liamwhite/ns-oops (diff)
downloadyuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.gz
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.bz2
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.lz
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.xz
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.tar.zst
yuzu-9a3fd76b25f0db3804789891a10c51568121bf0c.zip
-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() {
// Unload user input.
m_system.HIDCore().UnloadInputDevices();
+ // Enable all controllers
+ m_system.HIDCore().SetSupportedStyleTag({Core::HID::NpadStyleSet::All});
+
// Shutdown the main emulated process
if (m_load_result == Core::SystemResultStatus::Success) {
m_system.DetachDebugger();