From 5051c0f8c7b2a88673278d93c86d0f426fb4461d Mon Sep 17 00:00:00 2001 From: tudnai Date: Wed, 6 May 2020 20:24:22 -0700 Subject: [PATCH] Removed dead code --- src/cpu/instructions/6502_instr_arithmetic.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/cpu/instructions/6502_instr_arithmetic.h b/src/cpu/instructions/6502_instr_arithmetic.h index 10e9247..a48a529 100644 --- a/src/cpu/instructions/6502_instr_arithmetic.h +++ b/src/cpu/instructions/6502_instr_arithmetic.h @@ -45,15 +45,6 @@ INLINE void ADC( uint8_t src ) { if ( (tmp += (m6502.A & 0xF0) + (src & 0xF0)) > 0x99 ) { tmp += 0x60; } - -// tmp = m6502.A + src + m6502.C; -// -// if ( (tmp & 0x0F) > 0x09 ) { -// tmp += 0x06; -// } -// if ( tmp > 0x99 ) { -// tmp += 0x60; -// } } else { tmp = (uint16_t)m6502.A + src + (m6502.C != 0);