Skip to content

Commit

Permalink
Rectified wrong bit number in Agnus::pokeSPRxCTL (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed May 19, 2022
1 parent 926152b commit 9bb04b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Emulator/Agnus/AgnusRegs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Agnus::pokeSPRxCTL(u16 value)
trace(XFILES, "XFILES: pokeSPRxCTL: Extended VSTRT bit set\n");
if (isECS()) sprVStrt[x] |= 0x0200;
}
if (GET_BIT(value, 7)) {
if (GET_BIT(value, 5)) {
trace(XFILES, "XFILES: pokeSPRxCTL: Extended VSTOP bit set\n");
if (isECS()) sprVStop[x] |= 0x0200;
}
Expand Down

0 comments on commit 9bb04b0

Please sign in to comment.