VERY experimental Nintendo Switch 2 emulator
C++
hid: fix pad update
wwylele0af67d267ffc
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cppindex 3015a96051..cb4fd38e27 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 stateu32 last_entry_index = (mem->pad.index - 1) % mem->pad.entries.size();