mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-01 05:31:52 +00:00
second: urgh bug in music player, previous fix was broken
didn't handle the corner case of two carries, and the credits music was crashing after pattern 13 this is an ugly fix but hopefully correct
This commit is contained in:
parent
7a11877cce
commit
3a770f9913
@ -1561,11 +1561,15 @@ not_done:
|
||||
clc
|
||||
sta PATTERN_L
|
||||
adc PT3_LOC+PT3_PATTERN_LOC_L
|
||||
php ; save carry as we might generate two
|
||||
clc
|
||||
adc PATTERN_L
|
||||
sta PATTERN_L
|
||||
|
||||
lda PT3_LOC+PT3_PATTERN_LOC_H ; 4
|
||||
adc #>PT3_LOC ; assume page boundary ; 2
|
||||
plp ; restore carry
|
||||
adc #0
|
||||
sta PATTERN_H ; 3
|
||||
|
||||
; clc
|
||||
|
Loading…
Reference in New Issue
Block a user