summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar David Marcec2018-05-23 16:00:25 -0700
committerGravatar David Marcec2018-05-23 16:00:25 -0700
commitc74d24f841b716503bc75be1cf9b31bf9580e1e9 (patch)
tree13e721f5fd2dee0a83855dd9225263bcb449162c /src/core
parentMerge pull request #460 from greggameplayer/patch-6 (diff)
downloadyuzu-c74d24f841b716503bc75be1cf9b31bf9580e1e9.tar.gz
yuzu-c74d24f841b716503bc75be1cf9b31bf9580e1e9.tar.xz
yuzu-c74d24f841b716503bc75be1cf9b31bf9580e1e9.zip
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/core')
-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 {
12// Begin enums and output structs 12// Begin enums and output structs
13 13
14constexpr u32 HID_NUM_ENTRIES = 17; 14constexpr u32 HID_NUM_ENTRIES = 17;
15constexpr u32 HID_NUM_LAYOUTS = 7; 15constexpr u32 HID_NUM_LAYOUTS = 2;
16constexpr s32 HID_JOYSTICK_MAX = 0x8000; 16constexpr s32 HID_JOYSTICK_MAX = 0x8000;
17constexpr s32 HID_JOYSTICK_MIN = -0x8000; 17constexpr s32 HID_JOYSTICK_MIN = -0x8000;
18 18