mirror of https://github.com/stella-emu/stella.git
Fix life display in solaris.
This commit is contained in:
parent
34a9df151a
commit
5a39e9666b
|
@ -94,6 +94,15 @@ void Player::nusiz(uInt8 value, bool hblank)
|
|||
|
||||
myDecodes = DrawCounterDecodes::get().playerDecodes()[myDecodesOffset];
|
||||
|
||||
// Changing NUSIZ can trigger a decode in the same cycle
|
||||
// (https://github.com/stella-emu/stella/issues/1012)
|
||||
if (!myIsRendering && myDecodes[(myCounter + TIAConstants::H_PIXEL - 1) % TIAConstants::H_PIXEL]) {
|
||||
myIsRendering = true;
|
||||
mySampleCounter = 0;
|
||||
myRenderCounter = renderCounterOffset;
|
||||
myCopy = myDecodes[myCounter - 1];
|
||||
}
|
||||
|
||||
if (
|
||||
myDecodes != oldDecodes &&
|
||||
myIsRendering &&
|
||||
|
|
Loading…
Reference in New Issue