summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-01-20 22:33:50 +0100
committerwwylele <wwylele@gmail.com>2017-01-20 22:33:50 +0100
commit2c7676d371f462a68d7991cce3a242dfc016d32f (patch)
tree4bb8b7aef7967dce653b746850b3697f1d3447f9
parentMerge pull request #2450 from Xtansia/master (diff)
downloadyuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.tar
yuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.tar.gz
yuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.tar.bz2
yuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.tar.lz
yuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.tar.xz
yuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.tar.zst
yuzu-2c7676d371f462a68d7991cce3a242dfc016d32f.zip
-rw-r--r--src/core/hle/service/hid/hid.cpp2
1 files changed, 2 insertions, 0 deletions
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");