Browse Source

HID: reset acceleroeter and gyroscope index in Init

nce_cpp
wwylele 9 years ago
parent
commit
d678c306b8
  1. 2
      src/core/hle/service/hid/hid.cpp

2
src/core/hle/service/hid/hid.cpp

@ -320,6 +320,8 @@ void Init() {
next_pad_index = 0;
next_touch_index = 0;
next_accelerometer_index = 0;
next_gyroscope_index = 0;
// Create event handles
event_pad_or_touch_1 = Event::Create(ResetType::OneShot, "HID:EventPadOrTouch1");

Loading…
Cancel
Save