diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-17 09:29:43 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-17 09:29:43 +0100 |
commit | 22bb60177813ee1b327ba2dc080877948e1c7688 (patch) | |
tree | b4a0b356835eb28c35075b9398ff389db759826c /src | |
parent | 0b08c7290e79342c660714217c52673e887de9e7 (diff) |
Toggle scanlines at runtime
Diffstat (limited to 'src')
-rw-r--r-- | src/ahoy/gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |