2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Fix deadlocks caused from HID having too many layouts

Games such as SMO deadlock if we have more than 2 layouts
This commit is contained in:
David Marcec 2018-05-23 16:00:25 -07:00
parent 4cb92b776c
commit c74d24f841

View file

@ -12,7 +12,7 @@ namespace Service::HID {
// Begin enums and output structs // Begin enums and output structs
constexpr u32 HID_NUM_ENTRIES = 17; constexpr u32 HID_NUM_ENTRIES = 17;
constexpr u32 HID_NUM_LAYOUTS = 7; constexpr u32 HID_NUM_LAYOUTS = 2;
constexpr s32 HID_JOYSTICK_MAX = 0x8000; constexpr s32 HID_JOYSTICK_MAX = 0x8000;
constexpr s32 HID_JOYSTICK_MIN = -0x8000; constexpr s32 HID_JOYSTICK_MIN = -0x8000;