Add a subdirectory for RAM files

Fixes #920
This commit is contained in:
Rangi 2022-06-17 22:54:52 -04:00
parent 5dd6985e8f
commit 4db344db89
6 changed files with 10 additions and 14 deletions

View File

@ -10,7 +10,7 @@ rom_obj := \
audio.o \
home.o \
main.o \
wram.o \
ram.o \
data/text/common.o \
data/maps/map_data.o \
data/pokemon/dex_entries.o \

9
ram.asm Normal file
View File

@ -0,0 +1,9 @@
INCLUDE "constants.asm"
INCLUDE "macros/wram.asm"
INCLUDE "ram/vram.asm"
INCLUDE "ram/wram.asm"
INCLUDE "ram/sram.asm"
INCLUDE "ram/hram.asm"

View File

@ -1,11 +1,3 @@
INCLUDE "constants.asm"
INCLUDE "macros/wram.asm"
INCLUDE "vram.asm"
SECTION "Stack", WRAM0
wStackBottom::
@ -3614,8 +3606,3 @@ SECTION "Stack RAM", WRAMX
wWindowStack:: ds $1000 - 1
wWindowStackBottom:: ds 1
INCLUDE "sram.asm"
INCLUDE "hram.asm"