mirror of https://github.com/stella-emu/stella.git
Fix life display in solaris.
This commit is contained in:
parent
08abd79850
commit
86f847115f
|
@ -94,6 +94,15 @@ void Player::nusiz(uInt8 value, bool hblank)
|
||||||
|
|
||||||
myDecodes = DrawCounterDecodes::get().playerDecodes()[myDecodesOffset];
|
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 (
|
if (
|
||||||
myDecodes != oldDecodes &&
|
myDecodes != oldDecodes &&
|
||||||
myIsRendering &&
|
myIsRendering &&
|
||||||
|
|
Loading…
Reference in New Issue