diff --git a/platform/rustboyadvance-sdl2/src/main.rs b/platform/rustboyadvance-sdl2/src/main.rs index 02d172f..995742f 100644 --- a/platform/rustboyadvance-sdl2/src/main.rs +++ b/platform/rustboyadvance-sdl2/src/main.rs @@ -91,7 +91,7 @@ fn wait_for_rom(canvas: &mut WindowCanvas, event_pump: &mut EventPump) -> Result } Event::Quit { .. } => process::exit(0), Event::Window { win_event, .. } => match win_event { - WindowEvent::SizeChanged(..) => redraw()?, + WindowEvent::SizeChanged(..) | WindowEvent::Restored => redraw()?, _ => {} }, _ => {}