diff --git a/src/x86_ops_bcd.h b/src/x86_ops_bcd.h index 1ef7210..3cef2dc 100644 --- a/src/x86_ops_bcd.h +++ b/src/x86_ops_bcd.h @@ -72,6 +72,7 @@ static int opDAA(uint32_t fetchdat) tempw = flags & (C_FLAG | A_FLAG); setznp8(AL); + flags_rebuild(); flags |= tempw; CLOCK_CYCLES(4); @@ -98,6 +99,7 @@ static int opDAS(uint32_t fetchdat) tempw = flags & (C_FLAG | A_FLAG); setznp8(AL); + flags_rebuild(); flags |= tempw; CLOCK_CYCLES(4);