Make and LD stuff (#138)

* Remove build path from ldscript
* Fix issues with ldscript in chaogarden
* Update Makefile to handle building with other compilers

---------

Co-authored-by: Oliver Bell <freshollie@gmail.com>
This commit is contained in:
JaceCearandOliver Bell authored and GitHub committed 2024-05-10 00:30:38 +02:00
1 parent b3ba34ba21
commit 3eed7359bf
19 files changed
+2394 -1440

No files matched your search

-1
View File
@@ -1134,4 +1134,3 @@ gAnimations:
.4byte anim_countdown_start
.4byte anim_1131
.4byte anim_1132
.size gAnimations,.-gAnimations
-3
View File
@@ -4,12 +4,10 @@
.global gSpritePalettes @ 0x0816ADC8
gSpritePalettes:
.include "graphics/obj_palettes.inc"
.size gSpritePalettes, .-gSpritePalettes
.global gObjTiles_4bpp @ 0x081709A8
gObjTiles_4bpp:
.include "graphics/obj_tiles_4bpp.inc"
.size gObjTiles_4bpp, .-gObjTiles_4bpp
@ Unlike the first game, Sonic Advance 2 does not use 8-bits-per-pixel object tiles,
@ but the engine does need a dummy-pointer to 8bpp data!
@@ -17,4 +15,3 @@ gObjTiles_4bpp:
.global gObjTiles_8bpp
gObjTiles_8bpp: @ 0x086E9E08
@ DUMMY - NO DATA HERE!
.size gObjTiles_8bpp, .-gObjTiles_8bpp