Skip to content

Commit

Permalink
neato
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga authored Aug 21, 2018
1 parent 37e82b0 commit ddf2239
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/gui.asm
Original file line number Diff line number Diff line change
Expand Up @@ -248,18 +248,14 @@ gui_color_box:
add hl,bc ; x
ld c,6
ld d,c
push hl
push de
push bc
push hl, de, bc
call lcd_compute
ld de,lcdWidth * 2 + 3
add hl,de
ld a,(hl) ; get the new color
ld hl,(color_ptr)
ld (hl),a
pop bc
pop de
pop hl
pop bc, de, hl
ret
.draw:
ld a,(color_secondary)
Expand Down

0 comments on commit ddf2239

Please sign in to comment.