diff options
author | Astatin <[email protected]> | 2025-03-12 18:55:37 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-03-12 18:55:37 +0900 |
commit | cd7f4140537c85a6a0ffed98a62b9593f324edbf (patch) | |
tree | 7502d953ab54c553c03d3a8cef91d36dad46b56c /src/main.rs | |
parent | 3ac23c20f0d29cfad1963aa117941fb9c2827126 (diff) |
Remove useless ref to state in update_events
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 71e58d3..66b60e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -116,7 +116,7 @@ fn main() { nanos_sleep += c as i128 * (consts::CPU_CYCLE_LENGTH_NANOS as f32 / cli.speed) as i128; if nanos_sleep > 0 { - gamepad.update_events(total_cycle_counter, &state); + gamepad.update_events(total_cycle_counter); let (action_button_reg, direction_button_reg) = ( gamepad.get_action_gamepad_reg(), |