From 22bb60177813ee1b327ba2dc080877948e1c7688 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 17 Feb 2024 09:29:43 +0100 Subject: Toggle scanlines at runtime --- src/ahoy/gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ahoy/gui.c b/src/ahoy/gui.c index a24d524..d03e172 100644 --- a/src/ahoy/gui.c +++ b/src/ahoy/gui.c @@ -142,10 +142,13 @@ readevnt(void) case SDLK_SPACE: estate = estate == ES_RUNNING ? ES_PAUSED : ES_RUNNING; break; - case SDLK_EQUALS: estate = ES_RESET; break; + case SDLK_l: + cfg.scanls = !cfg.scanls; + windrw(); + break; case SDLK_1: c8.kbd[0x1] = true; -- cgit v1.2.3