summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-03-13 10:19:17 +0100
committerwwylele <wwylele@gmail.com>2016-03-13 10:19:17 +0100
commitab67f0ffa3ed80019202e4865adc75b9096bfe9e (patch)
tree6d3e59164dcd85d1adb956b98f33d33249ece09d /src/core/hle/service
parentMerge pull request #1496 from JayFoxRox/align-attribs (diff)
downloadyuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar
yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.gz
yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.bz2
yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.lz
yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.xz
yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.zst
yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/hid/hid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 3015a9605..cb4fd38e2 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -68,7 +68,7 @@ void Update() {
mem->pad.current_state.hex = state.hex;
mem->pad.index = next_pad_index;
- next_touch_index = (next_touch_index + 1) % mem->pad.entries.size();
+ next_pad_index = (next_pad_index + 1) % mem->pad.entries.size();
// Get the previous Pad state
u32 last_entry_index = (mem->pad.index - 1) % mem->pad.entries.size();