From 91276caf1c7a7091b8afe43f3a8151dfa74fc78f Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Mon, 17 Jul 2023 19:25:58 +1000 Subject: [PATCH] adjust layer window scaling --- gb-emu/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };