diff --git a/gb-emu/src/main.rs b/gb-emu/src/main.rs index 75dcf54..84fa2f5 100644 --- a/gb-emu/src/main.rs +++ b/gb-emu/src/main.rs @@ -134,7 +134,7 @@ impl EmulatorHandler { }; let layer_window: Option = if args.layer_window { - Some(window_manager.add(1, None)) + Some(window_manager.add(factor.min(2), None)) } else { None };