Просмотр исходного кода

Merge pull request #462 from ogniK5377/hid-fix

Fix deadlocks caused from HID having too many layouts
bunnei 8 лет назад
Родитель
Сommit
6b6287dda0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/hid/hid.h

+ 1 - 1
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;