Skip to content

Commit 285ceed

Browse files
committed
Merge pull request #163 from TheMachine02/patch-4
Update graphics.asm
2 parents 468ed4c + ce6bb81 commit 285ceed

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/02/graphics.asm

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,17 @@ _: ld a, 96 ;Clip Top
280280
;; E, L: X, Y
281281
;; C, B: Width, height
282282
rectAND:
283+
push af
284+
push hl
285+
push bc
286+
push de
287+
call .rectAND
288+
pop de
289+
pop bc
290+
pop hl
291+
pop af
292+
ret
293+
.rectAND:
283294
ld a, 96 ;Clip Top
284295
sub e
285296
ret c

0 commit comments

Comments
 (0)