mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
cap recommendation (#1062)
This commit is contained in:
+1
-1
@@ -497,7 +497,7 @@ fn update_ping(
|
||||
60.0
|
||||
};
|
||||
let recommendation =
|
||||
(ping as f64 / (1000.0 / refresh_rate)) as i32 + 1;
|
||||
((ping as f64 / (1000.0 / refresh_rate)) as i32 + 1).min(8);
|
||||
|
||||
if handle.get_netplay_recommended_delay() == 0 {
|
||||
handle.set_netplay_input_delay(recommendation);
|
||||
|
||||
Reference in New Issue
Block a user