summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-03-13 18:04:52 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-03-13 18:04:52 +0100
commite07f193aff86987d06107121396f65c6e27c9e8d (patch)
tree6d3e59164dcd85d1adb956b98f33d33249ece09d /src
parentMerge pull request #1496 from JayFoxRox/align-attribs (diff)
parenthid: fix pad update (diff)
downloadyuzu-e07f193aff86987d06107121396f65c6e27c9e8d.tar
yuzu-e07f193aff86987d06107121396f65c6e27c9e8d.tar.gz
yuzu-e07f193aff86987d06107121396f65c6e27c9e8d.tar.bz2
yuzu-e07f193aff86987d06107121396f65c6e27c9e8d.tar.lz
yuzu-e07f193aff86987d06107121396f65c6e27c9e8d.tar.xz
yuzu-e07f193aff86987d06107121396f65c6e27c9e8d.tar.zst
yuzu-e07f193aff86987d06107121396f65c6e27c9e8d.zip
Diffstat (limited to '')
-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();