From 2c7676d371f462a68d7991cce3a242dfc016d32f Mon Sep 17 00:00:00 2001 From: wwylele Date: Fri, 20 Jan 2017 23:33:50 +0200 Subject: HID: reset acceleroeter and gyroscope index in Init --- src/core/hle/service/hid/hid.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 9bca97c1c..f14ab3811 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/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"); -- cgit v1.2.3