Skip to content

Commit e54bd92

Browse files
committed
Updated fucntion names
Also added some missing GX functions in the JP lst.
1 parent 8e68dc8 commit e54bd92

28 files changed

+214
-118
lines changed

ttyd-tools/rel/include/gc/DEMOInit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extern "C" {
1010
// __NoHangDoneRender
1111
// __NoHangRetraceCallback
1212
// DEMOEnableGPHangWorkaround
13-
void *DEMOGetCurrentBuffer();
13+
void *L_DEMOGetCurrentBuffer();
1414
// DEMOGetRenderModeObj
1515
// DEMODoneRender
1616
// DEMOBeforeRender

ttyd-tools/rel/include/gc/OSContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern "C" {
4040
// OSDumpContext
4141
// OSSwitchFPUContext
4242
// __OSContextInit
43-
void OSFillFPUContext(OSContext *context);
43+
void L_OSFillFPUContext(OSContext *context);
4444

4545
}
4646

ttyd-tools/rel/include/gc/OSFont.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ uint16_t OSGetFontEncode();
4242
// OSLoadFont
4343
// ParseStringS
4444
// OSGetFontTexel
45-
// ExpandFontSheet
46-
bool OSInitFont(OSFontHeader *fontData);
47-
char *OSGetFontTexture(const char *string, void **image, int32_t *posX, int32_t *posY, int32_t *width);
45+
// L_ExpandFontSheet
46+
bool L_OSInitFont(OSFontHeader *fontData);
47+
char *L_OSGetFontTexture(const char *string, void **image, int32_t *posX, int32_t *posY, int32_t *width);
4848

4949
}
5050

ttyd-tools/rel/include/ttyd.eu.lst

Lines changed: 38 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
// 80008EFC:disp2
8686
// 80009264:disp1
8787
// 800093F0:titleMain
88-
// 80009CAC:titleInit
89-
// 80009E90:getDebugMode
88+
// 80009CAC:L_titleInit
89+
// 80009E90:N_getDebugMode
9090
// 80009E9C:seq_titleMain
9191
// 80009EBC:seq_titleExit
9292
// 80009EF4:seq_titleInit
@@ -102,8 +102,8 @@
102102
// 8000EA84:camSetTypePersp
103103
// 8000EAA0:camCtrlOff
104104
// 8000EAC0:camCtrlOn
105-
// 8000EAE0:camDispOff
106-
8000EB00:camDispOn
105+
// 8000EAE0:L_camDispOff
106+
8000EB00:L_camDispOn
107107
// 8000EB20:camSetMode
108108
// 8000EB38:camEffMain
109109
// 8000EBF4:cam3dImgMain
@@ -289,8 +289,8 @@
289289
// 8002B254:mapGetJointsSub
290290
// 8002B518:mapGetActiveGroup
291291
8002B520:mapGetWork
292-
// 8002B534:mapDispOn
293-
// 8002B540:mapDispOff
292+
// 8002B534:N_mapDispOn
293+
// 8002B540:N_mapDispOff
294294
// 8002B54C:getMapDataDvdRoot
295295
// 8002B554:mapErrorEntry
296296

@@ -312,7 +312,7 @@
312312
// 8002E640:__NoHangDoneRender
313313
// 8002EA8C:__NoHangRetraceCallback
314314
// 8002EB28:DEMOEnableGPHangWorkaround
315-
8002EC10:DEMOGetCurrentBuffer
315+
8002EC10:L_DEMOGetCurrentBuffer
316316
// 8002EC18:DEMOGetRenderModeObj
317317
// 8002EC20:DEMODoneRender
318318
// 8002ED04:DEMOBeforeRender
@@ -335,7 +335,7 @@
335335
8002F628:smartAlloc
336336
8002F960:smartFree
337337
8002FAB4:smartAutoFree
338-
8002FB58:smartReInit
338+
8002FB58:L_smartReInit
339339
8002FCC8:smartInit
340340
// unused:_mapAllocDump
341341
8002FEAC:_mapFree
@@ -380,7 +380,7 @@
380380
80037B48:evtGetWork
381381

382382
// evt_map.o
383-
80037D74:evt_mapdisp_onoff
383+
80037D74:N_evt_mapdisp_onoff
384384
80037DB4:evt_map_replace_mapobj
385385
80037E8C:evt_map_entry_airport_harbor
386386
80038028:check2
@@ -420,7 +420,7 @@
420420
80311524:worldData
421421

422422
// npcdrv.o
423-
80043020:fbatPreventMarioEventChk
423+
80043020:N_fbatPreventMarioEventChk
424424
80043054:npcCheckBlow
425425
80043194:npcCalcScore
426426
8004329C:fbatSandersBombTriggerOn
@@ -710,6 +710,7 @@
710710
8005C434:marioCtrlOffChk
711711
8005C444:marioFBattlePost
712712
8005C504:marioFBattlePrepare
713+
8005C570:N_marioChkUseParty
713714
8005C59C:marioChkCtrl
714715
8005C5B4:marioChkKey
715716
8005C6F0:marioCheckMenuDisable
@@ -751,6 +752,7 @@
751752
// text
752753
// unused:gcResetDone
753754
// unused:gcResetCheck
755+
8006FF98:L_gcResetCheck
754756
800700B4:gcRumbleCheck
755757
// unused:gcDvdCheckCancel
756758
// unused:gcDvdCheckInit
@@ -761,8 +763,8 @@
761763
80070AB8:marioStDisp
762764
80070AE0:marioStMain
763765
80070D18:marioStInit
764-
80261A48:systemErrorHandler
765-
// 80262084:setupErrorHandler
766+
80261A48:N_systemErrorHandler
767+
// 80262084:N_setupErrorHandler
766768
// data
767769
80422810:globalWorkPointer
768770

@@ -870,6 +872,8 @@
870872
// 8007BEEC:bero_get_BeroSX
871873
// 8007BEF4:bero_get_BeroNUM
872874
// 8007BEFC:bero_get_BeroEXEC
875+
// 8007BF04:N_evt_bero_set_mario_bottomless_respawn_pos_to_current_mario_pos
876+
// 8007BF38:N_evt_bero_set_mario_bottomless_respawn_pos_on_bero_entry
873877

874878
// windowdrv.o
875879
// 8007BFEC:getWakuTexObj
@@ -906,7 +910,7 @@
906910
// 80082DFC:_ismbblead
907911
80082E48:msgSearch
908912
// 80082F28:msg_compare
909-
// 80082F70:msgGetWork
913+
// 80082F70:L_msgGetWork
910914
// 80082F78:msgAnalize
911915
// 800846B4:msgDispKeyWait_render
912916
// 80084734:msgDisp
@@ -952,7 +956,7 @@
952956
// 80093304:mot_kaze
953957
// 80093548:marioChgMotJump2
954958
// 80093620:marioRollChgChk
955-
// 800937AC:marioChkRub
959+
// 800937AC:L_marioChkRub
956960
// 800937B4:marioChkItemMotion
957961
// 80093980:marioChkTransform
958962
// 80093B70:marioChkJump
@@ -1008,6 +1012,7 @@
10081012
800AEBC0:itemEntry
10091013
// 800AF3A0:itemModeChange
10101014
// 800AF3B0:itemMain
1015+
// 800AFA4C:N_itemPickUpFromFieldCheck
10111016
// 800AFAAC:itemGetNokoCheck
10121017
// 800AFC40:itemGetCheck
10131018
// 800AFE7C:itemCoinDrop
@@ -1053,7 +1058,7 @@
10531058
// 800B7E70:partySetFamicomMode
10541059
// 800B8264:partyShadowOff
10551060
// 800B827C:partyUpdateKeyData
1056-
// 800B8384:partyClearCont
1061+
// 800B8384:L_partyClearCont
10571062
// 800B83BC:partyKeyOff
10581063
// 800B83C0:partyKeyOn
10591064
// 800B83C4:partyDisp
@@ -1069,6 +1074,7 @@
10691074
// 800BA620:partyRideChk
10701075
// 800BA65C:allPartyRideOff2
10711076
// 800BA720:allPartyRideOff
1077+
// 800BA7E4:L_allPartyRideOn
10721078
// 800BA860:allPartyForceRideOn
10731079
// 800BA934:getRidePos
10741080
// 800BABB4:allPartyRideShip
@@ -1083,7 +1089,9 @@
10831089
// 800BCB10:partyDoWork
10841090
// 800BCBB8:driveParty
10851091
// 800BD2A8:partyMain
1086-
// 800BD8CC:partyChgRunMode
1092+
// 800BD7E4:N_partyForceChgRunMode
1093+
// 800BD860:partyChgRunMode
1094+
// 800BD8CC:N__partyChgRunMode
10871095
// 800BDC68:partyUsePost
10881096
// 800BDCC4:partyReInit
10891097
// 800BE3E0:partyInit
@@ -1129,7 +1137,7 @@
11291137
// 800D3FC0:pouchGetKpaCoin
11301138
// 800D3FCC:pouchMajinaiInit
11311139
// 800D3FFC:pouchArriveBadge
1132-
800D402C:pouchUnEquipBadgeID
1140+
800D402C:N_pouchUnEquipBadgeID
11331141
800D4084:pouchEquipBadgeID
11341142
// 800D40D8:pouchEquipCheckBadgeIndex
11351143
800D40F8:pouchEquipCheckBadge
@@ -1223,6 +1231,7 @@
12231231
// 800DC59C:psndBGMOn
12241232
// 800DC5C8:psndBGMMain
12251233
// 800DCA5C:psndBGM_rate
1234+
// 800DCAC0:L_psndBGM_stop
12261235
// 800DCBEC:psndSFXAllOff
12271236
// 800DCD34:psndMapChange
12281237
// 800DCEE4:psndGetFlag
@@ -1303,6 +1312,7 @@
13031312
// event.o
13041313
800ECA24:eventStgNum
13051314
800ECA2C:eventStgDtPtr
1315+
// 800ECA40:N_stg9_02_init
13061316
// 800ECA6C:stg8_15_init
13071317
// 800ECA98:stg8_14_init
13081318
// 800ECAC4:stg8_13_init
@@ -1535,12 +1545,12 @@
15351545
// 800F18F8:evt_pouch_party_join
15361546
// 800F1928:evt_pouch_set_ap
15371547
// 800F1958:evt_pouch_get_max_ap
1538-
// 800F19A4:evt_pouch_set_hp
1539-
// 800F19D4:evt_pouch_get_hp
1548+
// 800F19A4:L_evt_pouch_set_hp
1549+
// 800F19D4:L_evt_pouch_get_hp
15401550
// 800F1A20:evt_pouch_check_item
15411551
// 800F1A74:evt_pouch_remove_keepitem
15421552
// 800F1B08:evt_pouch_add_keepitem
1543-
// 800F1B78:evt_pouch_remove_item_index
1553+
// 800F1B78:N_evt_pouch_remove_item_index
15441554
// 800F1C14:evt_pouch_remove_item
15451555
// 800F1C8C:evt_pouch_add_item
15461556
// 800F1CFC:evt_pouch_get_starstone
@@ -1867,10 +1877,10 @@
18671877
// 8015826C:sort_4_3_func
18681878
// 8015848C:sort_4_2_func
18691879
// 80158518:sort_4_1_func
1870-
// 801585A4:compare_func4_2_r
1871-
// 801585F4:compare_func4_2
1872-
// 80158644:compare_func4_1_r
1873-
// 801586C0:compare_func4_1
1880+
// 801585A4:N_compare_func4_2_r
1881+
// 801585F4:N_compare_func4_2
1882+
// 80158644:N_compare_func4_1_r
1883+
// 801586C0:N_compare_func4_1
18741884
// 8015873C:sort_3_3_func
18751885
// 801587D8:sort_3_2_func
18761886
// 8015885C:sort_3_1_func
@@ -2143,7 +2153,7 @@
21432153
// 8029B3C0:OSDumpContext
21442154
// 8029B668:OSSwitchFPUContext
21452155
// 8029B6EC:__OSContextInit
2146-
8029B734:OSFillFPUContext
2156+
8029B734:L_OSFillFPUContext
21472157

21482158
// OSFont.c
21492159
// 8029C86C:GetFontCode
@@ -2153,9 +2163,9 @@
21532163
// 8029CEDC:OSLoadFont
21542164
// 8029D01C:ParseStringS
21552165
// 8029D158:OSGetFontTexel
2156-
// 8029D3F8:ExpandFontSheet
2157-
8029D7A4:OSInitFont
2158-
8029D9B0:OSGetFontTexture
2166+
// 8029D3F8:L_ExpandFontSheet
2167+
8029D7A4:L_OSInitFont
2168+
8029D9B0:L_OSGetFontTexture
21592169

21602170
// OSLink.c
21612171
// 8029E38C:OSNotifyLink

0 commit comments

Comments
 (0)