mirror of
https://github.com/n64decomp/mk64
synced 2026-08-11 03:03:18 -04:00
Fix alignment issue when compiling under Arch (#490)
While at it, why not make alignments consistent, we have hex almost everywhere
This commit is contained in:
@@ -34,7 +34,7 @@ SECTIONS
|
||||
END_SEG(boot)
|
||||
|
||||
/* 0x80000400 001000-0D9B70 [D8B70] */
|
||||
BEGIN_SEG(main, SEG_MAIN) SUBALIGN(16)
|
||||
BEGIN_SEG(main, SEG_MAIN) SUBALIGN(0x10)
|
||||
{
|
||||
BUILD_DIR/asm/entry.o(.text);
|
||||
BUILD_DIR/src/main.o(.text*);
|
||||
@@ -450,7 +450,7 @@ SECTIONS
|
||||
|
||||
/* 0x0F000000 145470-63E278 [4F8E08] */
|
||||
/* compressed kart textures and palettes */
|
||||
BEGIN_SEG(kart_textures, 0x0F000000)
|
||||
BEGIN_SEG(kart_textures, 0x0F000000) SUBALIGN(0x10)
|
||||
{
|
||||
BUILD_DIR/data/karts/luigi_kart.o(.data);
|
||||
BUILD_DIR/data/karts/mario_kart.o(.data);
|
||||
@@ -461,7 +461,6 @@ SECTIONS
|
||||
BUILD_DIR/data/karts/donkeykong_kart.o(.data);
|
||||
BUILD_DIR/data/karts/bowser_kart.o(.data);
|
||||
BUILD_DIR/courses/staff_ghosts.inc.o(.data);
|
||||
. = ALIGN(0x10);
|
||||
}
|
||||
END_SEG(kart_textures)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user