Removed dead code

This commit is contained in:
tudnai 2020-05-06 20:24:22 -07:00
parent 49a9dff6da
commit 5051c0f8c7

View File

@ -45,15 +45,6 @@ INLINE void ADC( uint8_t src ) {
if ( (tmp += (m6502.A & 0xF0) + (src & 0xF0)) > 0x99 ) { if ( (tmp += (m6502.A & 0xF0) + (src & 0xF0)) > 0x99 ) {
tmp += 0x60; tmp += 0x60;
} }
// tmp = m6502.A + src + m6502.C;
//
// if ( (tmp & 0x0F) > 0x09 ) {
// tmp += 0x06;
// }
// if ( tmp > 0x99 ) {
// tmp += 0x60;
// }
} }
else { else {
tmp = (uint16_t)m6502.A + src + (m6502.C != 0); tmp = (uint16_t)m6502.A + src + (m6502.C != 0);