fix Stack's address ($c100 -> $c0ff)

using negative ds
This commit is contained in:
yenatch 2013-08-29 02:10:32 -04:00
parent 7fe1fa58e3
commit eff81fb080
2 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ Init: ; 17d
or c
jr nz, .asm_1b1
ld sp, Stack - 1
ld sp, Stack
; Clear HRAM
ld a, [hCGB]

View File

@ -13,9 +13,9 @@ VBGMap1:
SECTION "WRAMBank0",WRAM0[$c000]
SECTION "stack",WRAM0[$c000]
ds $100
Stack: ; c100
SECTION "stack",WRAM0[$c0ff]
Stack: ; c0ff
ds -$100
SECTION "audio",WRAM0[$c100]