diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-10-29 14:03:04 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-10-30 15:42:10 +1300 |
commit | 748974ef2c0e969e95cccc9cb061436d5a1d1b35 (patch) | |
tree | c9d2022669df04cdfd3d775497048222422c59c2 /src/emulators/graphical_emulator.rs | |
parent | c42e2154d88c23a28f83fe96f4153e821ef00c0e (diff) | |
download | bedrock-pc-748974ef2c0e969e95cccc9cb061436d5a1d1b35.zip |
Load and display symbols in debug information
The assembler saves out symbols files, which are loaded automatically
by the emulator when present. The name and location of the most recent
label is displayed with the debug information when symbols are loaded.
Diffstat (limited to 'src/emulators/graphical_emulator.rs')
-rw-r--r-- | src/emulators/graphical_emulator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emulators/graphical_emulator.rs b/src/emulators/graphical_emulator.rs index a183262..bc6aaeb 100644 --- a/src/emulators/graphical_emulator.rs +++ b/src/emulators/graphical_emulator.rs @@ -115,7 +115,7 @@ impl GraphicalEmulator { let devices = GraphicalDeviceBus::new(config); Self { br: BedrockEmulator::new(devices), - debug: DebugState::new(debug), + debug: DebugState::new(debug, config.symbols_path.as_ref()), dimensions: config.dimensions, fullscreen: config.fullscreen, scale: config.scale, |