diff options
author | yenatch <yenatch@gmail.com> | 2013-08-29 02:10:32 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-08-29 02:10:32 -0400 |
commit | eff81fb0807b55180c32e7529171404f1ff36408 (patch) | |
tree | 24ffd95fcce9af2f90c4a93ab479a17e6a4dd5c2 | |
parent | 7fe1fa58e313312229ca4d8715ca304b47002eca (diff) |
fix Stack's address ($c100 -> $c0ff)
using negative ds
-rw-r--r-- | engine/init.asm | 2 | ||||
-rw-r--r-- | wram.asm | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/init.asm b/engine/init.asm index d7594ae1d..3104c416d 100644 --- a/engine/init.asm +++ b/engine/init.asm @@ -79,7 +79,7 @@ Init: ; 17d or c jr nz, .asm_1b1 - ld sp, Stack - 1 + ld sp, Stack ; Clear HRAM ld a, [hCGB] @@ -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] |