From 9a3fd76b25f0db3804789891a10c51568121bf0c Mon Sep 17 00:00:00 2001 From: t895 Date: Wed, 21 Feb 2024 08:13:54 -0500 Subject: android: Enable all controller styles on emulation shutdown --- src/android/app/src/main/jni/native.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3