diff --git a/frontends/sdl/src/main.rs b/frontends/sdl/src/main.rs index b38be7ce5e40514ccf1bb39804ca9b5e4271a926..0be2e940bdddff5ddc9b834fec35d4a08e435ec8 100644 --- a/frontends/sdl/src/main.rs +++ b/frontends/sdl/src/main.rs @@ -84,7 +84,7 @@ impl Emulator { next_tick_time_i: 0, features: options .features - .unwrap_or(vec!["video", "audio", "no-vsync"]), + .unwrap_or_else(|| vec!["video", "audio", "no-vsync"]), palettes: [ PaletteInfo::new( "basic",