Преглед изворни кода

hle/gameinput: increase reading history from 32 to 256 for low-FPS frames

warmooff-ops пре 2 дана
родитељ
комит
04512df483
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      crates/victory-hle/src/modules/gameinput.rs

+ 1 - 1
crates/victory-hle/src/modules/gameinput.rs

@@ -58,7 +58,7 @@ const KEYBOARD: usize = PADS + 1;
 const DEVICES: usize = PADS + 2;
 
 /// Readings kept per device for next/previous lookups.
-const HISTORY: usize = 32;
+const HISTORY: usize = 256;
 const POLL: Duration = Duration::from_millis(8);
 
 /// The keyboard's stand-in gamepad (virtual key, button); README lists it.