Skip to content

Commit be9fea4

Browse files
runer112Matt Waltz
authored and
Matt Waltz
committed
Calculate green LSB in default palette colors (#75)
Tested and I actually think it looks a lot better than before. Awesome :)
1 parent c771301 commit be9fea4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/graphx/graphx.asm

+4-3
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,15 @@ _: ld a,b
369369
ld (de),a
370370
inc de
371371
ld a,b
372+
rla
373+
rla
374+
rla
375+
ld a,b
372376
rra
373377
ld (de),a
374378
inc de
375379
inc b
376380
jr nz,-_ ; loop for 256 times to fill palette
377-
scf
378-
sbc hl,hl
379-
ld (mpLcdPalette+(255*2)),hl
380381
ret
381382

382383
;-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)