mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Small gradient optimization (one variable gone).
This commit is contained in:
+1
-7
@@ -114,18 +114,12 @@ OptionsNoRight
|
||||
OptionsNoReturn
|
||||
cmp #@kbcode._tab ; Tab key
|
||||
bne OptionsNoTab
|
||||
bit Gradient
|
||||
bmi NextGradientNr
|
||||
lda Gradient
|
||||
@ eor #$80
|
||||
sta Gradient
|
||||
NextGradientNr
|
||||
ldy GradientNr
|
||||
iny
|
||||
cpy #$03
|
||||
bne NoGradientLoop
|
||||
mva #$ff GradientNr
|
||||
bne @-
|
||||
ldy #$00
|
||||
NoGradientLoop
|
||||
sty GradientNr
|
||||
lda GradientAddrL,y
|
||||
|
||||
Reference in New Issue
Block a user