From 33f4b25f28d842e2409fedc812426244fe42a4aa Mon Sep 17 00:00:00 2001 From: drmortalwombat <90205530+drmortalwombat@users.noreply.github.com> Date: Thu, 17 Apr 2025 22:38:54 +0200 Subject: [PATCH] Fix C64 ascii to petscii output in conio --- include/conio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/conio.c b/include/conio.c index e34e932..a77f7f0 100644 --- a/include/conio.c +++ b/include/conio.c @@ -224,11 +224,10 @@ void putpch(char c) c ^= 0xa0; c ^= 0x20; #else - if (c >= 97) - c ^= 0x20; + c ^= 0x20; #endif - if (giocharmap == IOCHM_PETSCII_2) + if (giocharmap == IOCHM_PETSCII_1) c &= 0xdf; } }