mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2024-12-27 21:31:01 +00:00
Initialize backLayer.
The zeropage variable backLayer was uninitialized. The program only happened to work if $0090 happened to be $00 (or $01 ?) on startup.
This commit is contained in:
parent
d785b58c26
commit
8274d0252b
@ -72,6 +72,8 @@ store:
|
||||
dex
|
||||
bpl :-
|
||||
|
||||
sta backLayer ; set back layer to 0
|
||||
|
||||
ldx #((BitMasksEnd - BitMasks) - 1)
|
||||
:
|
||||
lda BitMasks, x
|
||||
|
Loading…
Reference in New Issue
Block a user