diff --git a/config/GMPE01_00/rels/nisDll/splits.txt b/config/GMPE01_00/rels/nisDll/splits.txt index d512c836..4554248b 100644 --- a/config/GMPE01_00/rels/nisDll/splits.txt +++ b/config/GMPE01_00/rels/nisDll/splits.txt @@ -2,7 +2,8 @@ Sections: .text type:code align:4 .ctors type:rodata align:4 .dtors type:rodata align:4 - .data type:data align:8 + .rodata type:rodata align:8 REL/nisDll/main.c: .text start:0x00000000 end:0x0000017C + .rodata start:0x00000000 end:0x00000010 diff --git a/config/GMPE01_00/splits.txt b/config/GMPE01_00/splits.txt index 0c85aae7..d9a64bf5 100644 --- a/config/GMPE01_00/splits.txt +++ b/config/GMPE01_00/splits.txt @@ -1222,7 +1222,7 @@ TRK_MINNOW_DOLPHIN/targimpl.c: .bss start:0x801A9138 end:0x801A96B8 TRK_MINNOW_DOLPHIN/targsupp.s: - .text start:0x800F1CF0 end:0x800F1D10 + .text start:0x800F1CE4 end:0x800F1D10 TRK_MINNOW_DOLPHIN/__exception.s: .init start:0x80003534 end:0x80005468 diff --git a/src/REL/nisDll/main.c b/src/REL/nisDll/main.c index a50c5b18..4dc839ce 100644 --- a/src/REL/nisDll/main.c +++ b/src/REL/nisDll/main.c @@ -1,4 +1,5 @@ #include "game/object.h" +#include "math.h" void fn_1_68(omObjData *object); diff --git a/src/TRK_MINNOW_DOLPHIN/targsupp.s b/src/TRK_MINNOW_DOLPHIN/targsupp.s index 670f691f..0244131b 100644 --- a/src/TRK_MINNOW_DOLPHIN/targsupp.s +++ b/src/TRK_MINNOW_DOLPHIN/targsupp.s @@ -2,7 +2,7 @@ .file "targsupp.s" .text -.balign 4 +.balign 16 .fn TRKAccessFile, global twui r0, 0x0