1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00
This commit is contained in:
Thomas Harte 2023-08-30 23:08:42 -04:00
parent cdcac7c11c
commit 13be247495

View File

@ -347,6 +347,8 @@ template <Personality personality, typename T, bool uses_ready_line> void Proces
a_ = result;
if(is_65c02(personality)) {
// 65C02 fix: N and Z are set correctly based on the final BCD result, at the cost of
// an extra cycle.
flags_.set_nz(a_);
read_mem(operand_, address_.full);
break;