remove redundant SDL_PumpEvents

This commit is contained in:
Logan McNaughton
2025-11-22 14:31:08 +01:00
parent 1141095b65
commit f116617ac3
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -95,8 +95,6 @@ fn process_channel(device: &mut device::Device, channel: usize) -> usize {
}
pub fn update_pif_ram(device: &mut device::Device) -> u64 {
unsafe { sdl3_sys::events::SDL_PumpEvents() };
let mut active_channels = 0;
for k in 0..PIF_CHANNELS_COUNT {
active_channels += process_channel(device, k)
+1 -1
View File
@@ -161,7 +161,7 @@ pub fn vertical_interrupt_event(device: &mut device::Device) {
ui::video::pause_loop(device.vi.frame_time);
}
unsafe { sdl3_sys::events::SDL_PumpEvents() }; // in case the game isn't prompting for input
unsafe { sdl3_sys::events::SDL_PumpEvents() };
/*
let vis = if device.cart.pal { 50 } else { 60 };