fixed incorrect use of 16bit accu when calculating zero flag

This commit is contained in:
nick-less 2018-12-19 17:15:22 +01:00
parent cf7cb1b2ad
commit b343063a4b

View File

@ -29,7 +29,7 @@
else Binary::clearBitIn8BitValue(&value, 0); \
if (carryWillBeSet) mCpuStatus.setCarryFlag(); \
else mCpuStatus.clearCarryFlag(); \
mCpuStatus.updateSignAndZeroFlagFrom16BitValue(value); \
mCpuStatus.updateSignAndZeroFlagFrom8BitValue(value); \
}
#define DO_ROL_16_BIT(value) { \