mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
This reverts commit fce57f8ee2.
This commit is contained in:
+4
-4
@@ -122,10 +122,6 @@ pub fn vertical_interrupt_event(device: &mut device::Device) {
|
||||
cheats::execute_cheats(device, device.cheats.cheats.clone());
|
||||
}
|
||||
|
||||
if device.netplay.is_some() {
|
||||
device.netplay.as_mut().unwrap().inputs = netplay::process_requests(device);
|
||||
}
|
||||
|
||||
if !netplay::netplay_in_rollback(device.netplay.as_ref()) {
|
||||
ui::video::render_frame();
|
||||
let _ = device.ui.video.vis_tx.as_ref().unwrap().try_send(true);
|
||||
@@ -163,6 +159,10 @@ pub fn vertical_interrupt_event(device: &mut device::Device) {
|
||||
device.speed_limiter.frame_counter += 1;
|
||||
}
|
||||
|
||||
if device.netplay.is_some() {
|
||||
device.netplay.as_mut().unwrap().inputs = netplay::process_requests(device);
|
||||
}
|
||||
|
||||
if device.netplay.is_none() && paused {
|
||||
if retroachievements::get_hardcore() {
|
||||
ui::video::onscreen_message(
|
||||
|
||||
Reference in New Issue
Block a user