Fix accidential fallthrough in switch -> fixes funky space invaders.

This commit is contained in:
Christian Speckner 2016-11-20 23:39:47 +01:00
parent d9f91caab3
commit 14b701ef72
1 changed files with 4 additions and 2 deletions

View File

@ -286,15 +286,17 @@ bool TIA::poke(uInt16 address, uInt8 value)
case HMCLR:
myDelayQueue.push(HMCLR, value, Delay::hmclr);
break;
case GRP0:
myDelayQueue.push(GRP0, value, Delay::grp);
myDelayQueue.push(DummyRegisters::shuffleP1, value, Delay::shufflePlayer);
myDelayQueue.push(DummyRegisters::shuffleP1, 0, Delay::shufflePlayer);
break;
case GRP1:
myDelayQueue.push(GRP1, value, Delay::grp);
myDelayQueue.push(DummyRegisters::shuffleP0, value, Delay::shufflePlayer);
myDelayQueue.push(DummyRegisters::shuffleP0, 0, Delay::shufflePlayer);
break;