summaryrefslogtreecommitdiff
path: root/arm9/source/zx81.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-10-30 23:50:04 +0000
committerIan C <ianc@noddybox.co.uk>2006-10-30 23:50:04 +0000
commitf08256be0fb69083175408e9d87173a5107c9977 (patch)
treef869da9dca929124ee952f56325e4e8904d70bda /arm9/source/zx81.c
parenta61e0aa6a31d6028eeb4ff45bb6c71f604641fea (diff)
Completed FAT loading, custom keypad definitions and fixed keyboard hang bug
Diffstat (limited to 'arm9/source/zx81.c')
-rw-r--r--arm9/source/zx81.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm9/source/zx81.c b/arm9/source/zx81.c
index 6173701..533c382 100644
--- a/arm9/source/zx81.c
+++ b/arm9/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;
}