summaryrefslogtreecommitdiff
path: root/src/emulators/graphical_emulator.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-07-15 11:39:17 +1200
committerBen Bridle <ben@derelict.engineering>2025-07-15 11:39:17 +1200
commit738dd7801c8213228d39f83553a785f1219929c3 (patch)
treea4c8ea7e2ac0ddbcf0a0565b00a1956710d819f8 /src/emulators/graphical_emulator.rs
parent4e3ee9c9d61ff1e05a7881c92d4414a2ae1da784 (diff)
downloadbedrock-pc-738dd7801c8213228d39f83553a785f1219929c3.zip
Add logging for starting and promoting a dynamic emulator
This commit changes the message shown when starting the emulator with dynamic mode, to make it clear that the window will be hidden initially, and also adds a message for when the emulator window is made visible.
Diffstat (limited to 'src/emulators/graphical_emulator.rs')
-rw-r--r--src/emulators/graphical_emulator.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emulators/graphical_emulator.rs b/src/emulators/graphical_emulator.rs
index 7e75b61..3d7ea4a 100644
--- a/src/emulators/graphical_emulator.rs
+++ b/src/emulators/graphical_emulator.rs
@@ -261,6 +261,7 @@ impl WindowProgram for GraphicalEmulator {
if !self.visible {
if self.br.dev.input.accessed || self.br.dev.screen.accessed {
+ info!("Making window visible");
requests.write(Request::SetVisible(true));
self.visible = true;
}