diff options
| author | 2018-05-23 16:00:25 -0700 | |
|---|---|---|
| committer | 2018-05-23 16:00:25 -0700 | |
| commit | c74d24f841b716503bc75be1cf9b31bf9580e1e9 (patch) | |
| tree | 13e721f5fd2dee0a83855dd9225263bcb449162c /src/core | |
| parent | Merge pull request #460 from greggameplayer/patch-6 (diff) | |
| download | yuzu-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.h | 2 |
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 | ||
| 14 | constexpr u32 HID_NUM_ENTRIES = 17; | 14 | constexpr u32 HID_NUM_ENTRIES = 17; |
| 15 | constexpr u32 HID_NUM_LAYOUTS = 7; | 15 | constexpr u32 HID_NUM_LAYOUTS = 2; |
| 16 | constexpr s32 HID_JOYSTICK_MAX = 0x8000; | 16 | constexpr s32 HID_JOYSTICK_MAX = 0x8000; |
| 17 | constexpr s32 HID_JOYSTICK_MIN = -0x8000; | 17 | constexpr s32 HID_JOYSTICK_MIN = -0x8000; |
| 18 | 18 | ||