mirror of
https://github.com/n64decomp/mk64
synced 2026-09-07 02:39:54 -04:00
Massive data relocation (#295)
Mostly relocating rodata from data/* files to the appropriate asm/nonmatching/* files, although there is some plain data relocating to be found in here too. Big change to note is the addition of the code_802AAA70.c file, split from memory.c. Based on some padding in the ro/data for memory it seems clear that a split is needed, although it is not clear that exact spot chosen for the split is correct. Still, it gets the file padding for the ro/data and text segments correct so it can't be too wrong. Also included is an update to the asm_processor tool to support the .hword directive. I made a PR to the main repo of that project with an identical change and it was accepted. Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ extern s32 D_80163448;
|
||||
// Shadows values from gPathIndexByPlayerId, but is an array
|
||||
extern u16 D_80165310[];
|
||||
// Shadows values from gNearestWaypointByPlayerId, but is an array
|
||||
extern u16 D_80165320[];
|
||||
extern s16 D_80165320[];
|
||||
// Don't think this really belongs with waypoint stuff, but don't know where else to put it
|
||||
extern s16 D_80165330[];
|
||||
// Shadows values from D_80164560
|
||||
|
||||
Reference in New Issue
Block a user