aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-21 08:13:54 -0500
committert895 <clombardo169@gmail.com>2024-02-21 08:13:54 -0500
commit9a3fd76b25f0db3804789891a10c51568121bf0c (patch)
treeaeabac4c45c534a2e6678a2472902ea2dfc2b94d /src
parent7b5bdd076df136e6e057bce1c1e7702e0cd131d9 (diff)
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 4ea82e2170..1226219ad2 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();