mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-16 12:17:26 +01:00
hid: fix pad update
This commit is contained in:
1 parent
dd7cc4d33e
commit
0af67d267f
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user