diff --git a/Processors/6502/Implementation/6502Implementation.hpp b/Processors/6502/Implementation/6502Implementation.hpp index 5d0662445..7ba4989fa 100644 --- a/Processors/6502/Implementation/6502Implementation.hpp +++ b/Processors/6502/Implementation/6502Implementation.hpp @@ -656,7 +656,7 @@ template void Proces case OperationTSX: flags_.set_nz(x_ = s_); continue; case OperationARR: - if(flags_.decimal) { + if(flags_.decimal && has_decimal_mode(personality)) { a_ &= operand_; uint8_t unshiftedA = a_; a_ = uint8_t((a_ >> 1) | (flags_.carry << 7));