summaryrefslogtreecommitdiff
path: root/emma.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-08-20 21:32:55 +0000
committerIan C <ianc@noddybox.co.uk>2021-08-20 21:32:55 +0000
commit40121879f3dfaedce310fbc543589ff6aab3a398 (patch)
treeb35afaf9a528a58703e24f4085587357c623e7f6 /emma.c
parent66d4bb423e981aece8c5590eb2a5968a5d874c9f (diff)
Updated with latest Z80 core from 3dsspec
Diffstat (limited to 'emma.c')
-rw-r--r--emma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emma.c b/emma.c
index a719885..c36e71e 100644
--- a/emma.c
+++ b/emma.c
@@ -212,7 +212,7 @@ static void DisplayState(void)
pc=z80->PC;
Log("A=%2.2x F=%s ",
- z80->AF.b[Z80_HI_WORD],FlagString(z80->AF.b[Z80_LO_WORD]));
+ z80->AF.b.hi,FlagString(z80->AF.b.lo));
Log("BC=%4.4x DE=%4.4x HL=%4.4x ",z80->BC.w,z80->DE.w,z80->HL.w);
Log("IX=%4.4x IY=%4.4x SP=%4.4x\n",z80->IX.w,z80->IY.w,z80->SP);
Log("I=%2.2x IM=%2.2x R=%2.2x ",z80->I,z80->IM,z80->R);