From 3b8323853f4eeddb61398e77c51bb2349f430227 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sat, 14 Jan 2017 23:08:50 +0000 Subject: Removed a LOT of useless stuff. --- source/spc700.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/spc700.c') 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(); -- cgit v1.2.3