summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2017-09-26 13:37:51 -0700
committerPokechu22 <Pokechu022@gmail.com>2017-09-26 13:38:13 -0700
commit8e5e08c38273bf0b98b87f2748709b2833d33c9c (patch)
tree11901dea1da7e8dfd2d18342bda340f48c3f3022
parent53f5675bb6cb2bd1f01e2831f322867435b9e80a (diff)
Change stack positioning to not use a negative offset
The stack size also is smaller because wBGPPalsBuffer cut into it. This seems wrong, but I don't know how to do it correctly.
-rwxr-xr-xwram.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/wram.asm b/wram.asm
index 5ff56a5a..b8b77044 100755
--- a/wram.asm
+++ b/wram.asm
@@ -3593,9 +3593,9 @@ wLastOBP1:: ds 1 ; def3
wdef5:: ds 1 ; def4
wBGPPalsBuffer:: ds NUM_ACTIVE_PALS * PAL_SIZE ; def5
-SECTION "Stack", WRAMX[$dfff], BANK[1]
+SECTION "Stack", WRAMX[$df15], BANK[1]
+ ds $ea
wStack:: ; dfff
- ds -$100
INCLUDE "sram.asm"