mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-28 21:49:27 +00:00
Comment.
This commit is contained in:
parent
cdcac7c11c
commit
13be247495
@ -347,6 +347,8 @@ template <Personality personality, typename T, bool uses_ready_line> void Proces
|
|||||||
a_ = result;
|
a_ = result;
|
||||||
|
|
||||||
if(is_65c02(personality)) {
|
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_);
|
flags_.set_nz(a_);
|
||||||
read_mem(operand_, address_.full);
|
read_mem(operand_, address_.full);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user