aboutsummaryrefslogtreecommitdiff
path: root/source/spc700.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/spc700.c')
-rw-r--r--source/spc700.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/spc700.c b/source/spc700.c
index baf5255..d152bd1 100644
--- a/source/spc700.c
+++ b/source/spc700.c
@@ -1023,7 +1023,6 @@ void Apu7A()
// XXX: BJ: i think the old HalfCarry behavior was wrong...
// XXX: Or is it between bits 7 and 8 for ADDW/SUBW?
-// XXX: Used Work32 instead of Int32 before. Fixed? [Neb]
void Apu9A()
{
// SUBW YA,dp
@@ -1036,9 +1035,6 @@ void Apu9A()
APUSetOverflow();
else
APUClearOverflow();
- if (((IAPU.Registers.YA.W ^ Work16) & 0x0080) &&
- ((IAPU.Registers.YA.W ^ (uint16_t) Int32) & 0x0080))
- APUSetHalfCarry();
APUSetHalfCarry();
if ((IAPU.Registers.YA.W ^ Work16 ^ (uint16_t) Int32) & 0x10)
APUClearHalfCarry();