diff options
| author | 2016-03-13 11:19:17 +0200 | |
|---|---|---|
| committer | 2016-03-13 11:19:17 +0200 | |
| commit | ab67f0ffa3ed80019202e4865adc75b9096bfe9e (patch) | |
| tree | 6d3e59164dcd85d1adb956b98f33d33249ece09d | |
| parent | Merge pull request #1496 from JayFoxRox/align-attribs (diff) | |
| download | yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.gz yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.tar.xz yuzu-ab67f0ffa3ed80019202e4865adc75b9096bfe9e.zip | |
hid: fix pad update
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 2 |
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() { | |||
| 68 | 68 | ||
| 69 | mem->pad.current_state.hex = state.hex; | 69 | mem->pad.current_state.hex = state.hex; |
| 70 | mem->pad.index = next_pad_index; | 70 | mem->pad.index = next_pad_index; |
| 71 | next_touch_index = (next_touch_index + 1) % mem->pad.entries.size(); | 71 | next_pad_index = (next_pad_index + 1) % mem->pad.entries.size(); |
| 72 | 72 | ||
| 73 | // Get the previous Pad state | 73 | // Get the previous Pad state |
| 74 | u32 last_entry_index = (mem->pad.index - 1) % mem->pad.entries.size(); | 74 | u32 last_entry_index = (mem->pad.index - 1) % mem->pad.entries.size(); |