From 82a10fb3ae8c935e6c325a1b458e7fe6c0b90df6 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 8 Jul 2025 11:55:53 +1200 Subject: Show window immediately in graphical mode This was an omission, the visible argument on the run method was added for this purpose. When starting the emulator in graphical mode, the window is shown immediately, without the program first having to access the input or screen devices. --- src/bin/br/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/br/main.rs b/src/bin/br/main.rs index cedd18c..8e88caf 100644 --- a/src/bin/br/main.rs +++ b/src/bin/br/main.rs @@ -142,7 +142,7 @@ fn main() { info!("Starting graphical emulator"); let mut emulator = GraphicalEmulator::new(config, debug); emulator.load_program(&bytecode); - emulator.run(phosphor, false); + emulator.run(phosphor, true); } Mode::Headless => { info!("Starting headless emulator"); -- cgit v1.2.3-70-g09d2