Explorar o código

hid: fix pad update

wwylele %!s(int64=10) %!d(string=hai) anos
pai
achega
ab67f0ffa3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/service/hid/hid.cpp

+ 1 - 1
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();