From f08256be0fb69083175408e9d87173a5107c9977 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 30 Oct 2006 23:50:04 +0000 Subject: Completed FAT loading, custom keypad definitions and fixed keyboard hang bug --- source/zx81.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/zx81.c') diff --git a/source/zx81.c b/source/zx81.c index 6173701..533c382 100644 --- a/source/zx81.c +++ b/source/zx81.c @@ -446,13 +446,13 @@ static void ZX81HouseKeeping(Z80 *z80) if (lastk1 && (lastk1!=prev_lk1 || lastk2!=prev_lk2)) { mem[CDFLAG]|=1; + + mem[LASTK1]=lastk1^0xff; + mem[LASTK2]=lastk2^0xff; } prev_lk1=lastk1; prev_lk2=lastk2; - - mem[LASTK1]=lastk1^0xff; - mem[LASTK2]=lastk2^0xff; } -- cgit v1.2.3