mirror of https://github.com/stella-emu/stella.git
Refine NUSIZ during draw decode.
This commit is contained in:
parent
00bfd088d3
commit
fd95231722
|
@ -90,8 +90,19 @@ void Player::nusiz(uInt8 value)
|
|||
break;
|
||||
}
|
||||
|
||||
const uInt8* oldDecodes = myDecodes;
|
||||
|
||||
myDecodes = DrawCounterDecodes::get().playerDecodes()[masked];
|
||||
|
||||
if (
|
||||
myDecodes != oldDecodes &&
|
||||
myIsRendering &&
|
||||
(myRenderCounter - Count::renderCounterOffset) < 2 &&
|
||||
!myDecodes[(myCounter - myRenderCounter + Count::renderCounterOffset + 159) % 160]
|
||||
) {
|
||||
myIsRendering = false;
|
||||
}
|
||||
|
||||
if (myDividerPending == myDivider) return;
|
||||
|
||||
// The following is an effective description of the effects of NUSIZ during
|
||||
|
|
Loading…
Reference in New Issue