Fix set_frame not removing old mappings
This commit is contained in:
parent
8c0e2af93b
commit
eee79bfcc6
@ -14,6 +14,11 @@
|
|||||||
; DE contains the bank # in the card
|
; DE contains the bank # in the card
|
||||||
; The contents of A, IX and C are destroyed
|
; The contents of A, IX and C are destroyed
|
||||||
set_frame:
|
set_frame:
|
||||||
|
push bc
|
||||||
|
push de
|
||||||
|
call clear_frame
|
||||||
|
pop de
|
||||||
|
pop bc
|
||||||
ld a, c
|
ld a, c
|
||||||
ld (card_set+2), a
|
ld (card_set+2), a
|
||||||
ld (low_set+2), a
|
ld (low_set+2), a
|
||||||
|
Loading…
Reference in New Issue
Block a user