summaryrefslogtreecommitdiff
path: root/linker_scripts
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-08-09 20:51:25 -0400
committerGitHub <noreply@github.com>2023-08-09 20:51:25 -0400
commitc7729c05c07cf0d60a70cd6c4f456069604a1f43 (patch)
tree00b8cfc29935ffad5d4081fc9e65c21d3059f8e0 /linker_scripts
parentcfa703f013a1e595a418e47ac05df06e9ae4f9b8 (diff)
`game.c` OK (#37)
* C file * game_dt * game_ct * fix offsets and building * game_init_hyral and SetGameFrame * more funcs * game_main * game_get_controller and func_800D2E00_jp * Input * game_draw_last * a few attempts * game_draw_first * improve func_800D2E58_jp a bit * format * migrate data and bss * what * whoops * name bss * minor cleanup * match game.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * fix malloc function wrongly named * Update src/code/game.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Diffstat (limited to 'linker_scripts')
-rw-r--r--linker_scripts/jp/symbol_addrs_code.txt16
-rw-r--r--linker_scripts/jp/symbol_addrs_overlays.txt4
2 files changed, 10 insertions, 10 deletions
diff --git a/linker_scripts/jp/symbol_addrs_code.txt b/linker_scripts/jp/symbol_addrs_code.txt
index 2a0dbb2..74fd08e 100644
--- a/linker_scripts/jp/symbol_addrs_code.txt
+++ b/linker_scripts/jp/symbol_addrs_code.txt
@@ -345,7 +345,7 @@ func_8005EEA0_jp = 0x8005EEA0; // type:func
mBGM_main = 0x8005EEE8; // type:func
mBGM_ct = 0x8005EF9C; // type:func
func_8005F020_jp = 0x8005F020; // type:func
-func_8005F13C_jp = 0x8005F13C; // type:func
+mBGM_cleanup = 0x8005F13C; // type:func
func_8005F250_jp = 0x8005F250; // type:func
func_8005F390_jp = 0x8005F390; // type:func
func_8005F3DC_jp = 0x8005F3DC; // type:func
@@ -5020,7 +5020,7 @@ D_8010FD50_jp = 0x8010FD50; //
D_8010FD54_jp = 0x8010FD54; //
D_8010FD58_jp = 0x8010FD58; //
D_8010FD5C_jp = 0x8010FD5C; //
-D_8010FD60_jp = 0x8010FD60; //
+zurumode_flag = 0x8010FD60; //
D_8010FD70_jp = 0x8010FD70; //
D_80110000_jp = 0x80110000; // type:s16
D_80110D70_jp = 0x80110D70; // type:s16
@@ -6033,7 +6033,7 @@ B_80137C48_jp = 0x80137C48; //
B_80138818_jp = 0x80138818; //
B_80138E40_jp = 0x80138E40; //
B_80138E44_jp = 0x80138E44; //
-B_80138E50_jp = 0x80138E50; //
+debug_mode = 0x80138E50; //
debug_display = 0x80138E60; //
B_80138E70_jp = 0x80138E70; // type:s8
B_80138E73_jp = 0x80138E73; //
@@ -6193,11 +6193,11 @@ B_80144FC0_jp = 0x80144FC0; // type:u8
B_80145014_jp = 0x80145014; //
B_80145020_jp = 0x80145020; //
B_80145040_jp = 0x80145040; // type:s16
-B_80145044_jp = 0x80145044; //
-B_80145048_jp = 0x80145048; // type:u8
-B_FLT_8014504C_jp = 0x8014504C; // type:f32
-B_FLT_80145050_jp = 0x80145050; // type:f32
-B_FLT_80145054_jp = 0x80145054; // type:f32
+game_class_p = 0x80145044; //
+game_GameFrame = 0x80145048; // type:u8
+game_GameFrameF = 0x8014504C; // type:f32
+game_GameFrame_2F = 0x80145050; // type:f32
+game_GameFrame__1F = 0x80145054; // type:f32
B_80145060_jp = 0x80145060; //
B_80145070_jp = 0x80145070; //
B_80145080_jp = 0x80145080; //
diff --git a/linker_scripts/jp/symbol_addrs_overlays.txt b/linker_scripts/jp/symbol_addrs_overlays.txt
index c3c1e6f..ec88207 100644
--- a/linker_scripts/jp/symbol_addrs_overlays.txt
+++ b/linker_scripts/jp/symbol_addrs_overlays.txt
@@ -198,7 +198,7 @@ func_808030D0_jp = 0x808030D0; // type:func
func_80803124_jp = 0x80803124; // type:func
func_80803174_jp = 0x80803174; // type:func
func_80803210_jp = 0x80803210; // type:func
-func_808032F8_jp = 0x808032F8; // type:func
+play_init = 0x808032F8; // type:func
func_80803544_jp = 0x80803544; // type:func
func_8080367C_jp = 0x8080367C; // type:func
func_80803810_jp = 0x80803810; // type:func
@@ -465,7 +465,7 @@ func_8082D4E0_jp = 0x8082D4E0; // type:func
func_8082D98C_jp = 0x8082D98C; // type:func
func_8082DA58_jp = 0x8082DA58; // type:func
func_8082DA64_jp = 0x8082DA64; // type:func
-func_8082DF6C_jp = 0x8082DF6C; // type:func
+famicom_emu_init = 0x8082DF6C; // type:func
func_8082E470_jp = 0x8082E470; // type:func
func_8082E4E0_jp = 0x8082E4E0; // type:func
func_8082E590_jp = 0x8082E590; // type:func