summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-05-23 16:00:25 -0700
committerDavid Marcec <dmarcecguzman@gmail.com>2018-05-23 16:00:25 -0700
commitc74d24f841b716503bc75be1cf9b31bf9580e1e9 (patch)
tree13e721f5fd2dee0a83855dd9225263bcb449162c /src
parent4cb92b776cf72411bf99330f1f633315d28a5d0f (diff)
Fix deadlocks caused from HID having too many layouts
Games such as SMO deadlock if we have more than 2 layouts
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid/hid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index b499308d6..15eee8f01 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -12,7 +12,7 @@ namespace Service::HID {
// Begin enums and output structs
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_MIN = -0x8000;