From c42e2154d88c23a28f83fe96f4153e821ef00c0e Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 29 Oct 2024 13:58:19 +1300 Subject: Add option to show mouse cursor This is to assist with debugging, when a program hasn't yet implemented its own mouse cursor. Phosphor had to be updated to properly support this. --- src/emulators/graphical_emulator.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/emulators/graphical_emulator.rs') diff --git a/src/emulators/graphical_emulator.rs b/src/emulators/graphical_emulator.rs index 1e048de..a183262 100644 --- a/src/emulators/graphical_emulator.rs +++ b/src/emulators/graphical_emulator.rs @@ -107,6 +107,7 @@ pub struct GraphicalEmulator { pub render_mark: Instant, pub debug_palette: Option<[Colour; 16]>, pub show_debug_palette: bool, + pub show_cursor: bool, } impl GraphicalEmulator { @@ -121,6 +122,7 @@ impl GraphicalEmulator { render_mark: Instant::now(), debug_palette: config.debug_palette, show_debug_palette: config.debug_palette.is_some(), + show_cursor: config.show_cursor, } } -- cgit v1.2.3-70-g09d2