Commit Graph

2223 Commits

Author SHA1 Message Date
LagoLunatic fa4a49e902 Enable some more clangd warnings 2025-12-23 17:10:29 -05:00
LagoLunatic 1e76d58a07 Remove some unnecessary double casts 2025-12-23 17:04:53 -05:00
LagoLunatic 21f3582111 Remove leftover dol2asm address comments 2025-12-23 16:59:16 -05:00
LagoLunatic 2fa6dd7003 Fix process profile definitions 2025-12-23 16:44:19 -05:00
LagoLunatic cd249ad2df Remove extern from initializers
Probably added by dol2asm?
2025-12-23 16:27:33 -05:00
LagoLunatic f4dfadc03b Enable clangd unused-parameter warning 2025-12-23 16:08:48 -05:00
LagoLunatic 79dd53d0b5 Add UNUSED macro for matching debug parameters 2025-12-23 16:08:36 -05:00
LagoLunatic 594564028a Fix some clangd errors in headers 2025-12-23 15:47:39 -05:00
LagoLunatic 4dcee332a4 Private Acch fields 2025-12-23 15:37:23 -05:00
LagoLunatic 041231ac6e Remove Acch Chk fakematches 2025-12-23 15:30:00 -05:00
LagoLunatic 238d572c5f Fix bad JSystem pch ifdef breaking decomp.me 2025-12-23 15:28:15 -05:00
LagoLunatic 20bc3845b5 Fix ifdef 2025-12-23 15:26:47 -05:00
LagoLunatic 2122530868 Remove NDEBUG_DEFINED fakematch, clean up getName temps 2025-12-23 15:26:37 -05:00
Jcw87 6ef13c620a
JAudio2 debug (#2990) 2025-12-23 10:23:09 -08:00
TakaRikka c9d0c58ffe
MSL_C header cleanup (#2988)
* msl_c header cleanup

* math header cleanup

* fix rest of shieldD configs

* cleanup cflag configs a bit

* fix shield build
2025-12-23 10:20:32 -08:00
LagoLunatic ce895330ed
Add missing RVL .init splits (#2989)
* Fix Debug_BBA being in the wrong split for GCN

* Add .init splits/symbols for Wii versions

* Fix incorrect relocations detected to __check_pad3 for Wii

* Add .init splits and fix __check_pad3 for Shield versions
2025-12-22 21:55:51 -08:00
Max Roncace 9767e76ba0
GCN data 100% matching (#2987)
* Update GZ2J01 symbols from linked DOL

* GCN data 100% matching

* Run dtk apply
2025-12-22 15:41:19 -08:00
Niklas Bauer 8fece471c6
Update README after GCN matching (#2986) 2025-12-22 12:32:48 -08:00
Jcw87 f156a2a413
JAHostIO, JAWExtSystem debug (#2985) 2025-12-22 12:27:31 -08:00
kipcode66 47ac1d4a4c
4th round of standard compiler fixes (#2984)
* 4th round of standard compiler fixes

* use of fpcM_ERROR_PROCESS_ID_e in gWolfBustersID
2025-12-22 02:20:08 -08:00
kipcode66 4045f16667
next round of standard compiler fixes (#2969)
* next round of standard compiler fixes

* Fix weak function order issue

* fix missmatch with ShieldD version
2025-12-21 17:48:09 -08:00
LagoLunatic b4f931f75f
Miscellaneous data fixes (#2983)
* Replace bss lbl_ with init$0000

* Rename l_HIOInit to hio_set

The name is excluded from TP's weird maps, but hio_set is the name they used in TWW's maps.

* Fix a couple more init$ names

* Fix nbomb missing some bss

* Fix camera localstatics having wrong name

* Rename l_initHIO to hio_set

* A couple manual fixes

* Rename hioInit to hio_set

* Couple more manual fixes

* Fix d_a_npc_cd2 data and function order

* More data fixes

* Fix inconsistent hex vs decimal
2025-12-21 16:43:06 -08:00
Max Roncace c69e31bd0f
Make Debug_BBA symbol global in __start.c (#2982)
This fixes an issue where the virtual address of the symbol would
be appended after the name making it impossible to automatically
match the symbol on more than one version.
2025-12-21 12:36:00 -08:00
Max Roncace ee32f5db55
d_a_vrbox2 matching (#2981) 2025-12-21 10:52:34 -08:00
LagoLunatic 16a2980f5a
Update to objdiff 3.5.0 (#2980)
* Update to objdiff 3.5.0

* Fix symbols being in .data instead of .rodata for Wii/Shield
2025-12-21 10:46:14 -08:00
LagoLunatic 48f1d47690
Work on weak order (#2979)
* JAUSectionHeap OK

* Slightly improve d_camera weak func order (12 -> 10)

* Minor d_a_alink fixes

* weak_order_diff.py: Change to take source file as cli argument instead of .o file

For cli autocompletion to work.

* Reorganize J3D structs (no change in weak order)
2025-12-21 14:13:21 +02:00
YunataSavior 69bdaaca19
Link d_a_e_fb + npc_shad wii NA 1.0 ifdef (#2978)
* Link d_a_e_fb

* revert npc_ks changes
2025-12-21 14:11:50 +02:00
LagoLunatic f6e2cbca9d
Match d_a_obj_ice_s rideCallBack (#2977)
* Match d_a_obj_ice_s rideCallBack

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>

* Fix debug regression

---------

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-20 18:53:41 -08:00
TakaRikka bd0c601a52
m_Do_MemCard/d_file_select wii/debug work (#2976)
* m_Do_MemCard/d_file_select wii/debug work

* fix builds
2025-12-20 18:30:04 -08:00
Luzagar 762159a990
d_a_npc_ks documentation (#2970)
* npc_ks work

* more work

* fix debug

* more documentation
2025-12-20 18:10:44 -08:00
Carco_21 c434c2edde
Various d_ work (#2968)
* map work

* various meter work

* d_meter_button ShieldD almost equivalent

* error fix
2025-12-20 18:06:17 -08:00
Max Roncace a1c691ec92
Add config for Wii PAL (RZDP01) (#2975) 2025-12-20 18:04:28 -08:00
LagoLunatic 917d93664d
Match dMsgUnit_c::setTag (#2974)
* Match dMsgUnit_c::setTag for GCN USA

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>

* Match dMsgUnit_c::setTag for debug

* Minor cleanup

---------

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 23:00:17 -08:00
LagoLunatic 0395053737
Match dNpcLib_lookat_c::action and daBaseNpc_lookat_c::calc (#2973)
* Match dNpcLib_lookat_c::action and daBaseNpc_lookat_c::calc

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>

* Improve d_a_npc weak func order

---------

Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 22:59:16 -08:00
LagoLunatic ac9a361676
Match JFWSystem::init (#2972)
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 17:25:09 -08:00
roeming f9d69372a1
match last function in d_camera.cpp (#2971)
Co-authored-by: Cuyler36 <Cuyler36@users.noreply.github.com>
2025-12-19 17:24:18 -08:00
Jcw87 2c62444df1
m_Do_main debug (#2965) 2025-12-19 21:22:03 +02:00
LagoLunatic 9771ae6879
JASAiCtrl OK (#2967) 2025-12-18 13:38:20 -08:00
LagoLunatic 21ce84ae43
d_a_npc_kn OK (#2966)
* d_a_npc_kn OK

* Remove nonmatching comment
2025-12-18 13:37:50 -08:00
roeming 93067110f6
Use consistent s32/u32 (#2964)
* cleanup long usage

* fix regression
2025-12-18 13:31:44 -08:00
Luzagar 7cae156176
fix ENABLE_REGHIO macro (#2963) 2025-12-18 13:31:00 -08:00
Niklas Bauer c0bdb153b5
random debug objects (#2961) 2025-12-17 11:26:51 +02:00
LagoLunatic 6a02f5b387
d_a_npc_wrestler 100% (#2962)
* Match sumouPunchMiss, improve sumouPunchChaseShock

Removing these consts also matches several functions on debug.

* Match sumouSideStep and sumouPunchChaseShock
2025-12-16 22:45:46 +02:00
TakaRikka 8185d87f85
copy homebuttonLib from oot-vc (#2960)
* initial copy of hbm from sdk_2009-12-11

* some more nw4hbm cleanup

* nw4hbm db mostly done

* nw4hbm snd copied from oot-vc

* nw4hbm ut copied

* nw4hbm lyt copied

* nw4hbm copied, mostly matching usa 1.0

* setup nw4hbm debug define

* fix HBMDataInfo struct

* add rvl sdk card lib
2025-12-16 16:55:07 +02:00
Jcw87 c8104b6d62
d_meter_HIO debug (#2959) 2025-12-16 16:54:05 +02:00
LagoLunatic 497aa20aa9
d_a_movie_player OK (#2958)
* Match THPAudioDecode

* Match daMP_MixAudio

* Fix weak func order

* Fix global.h
2025-12-16 16:52:28 +02:00
LagoLunatic d4859f8595
d_a_alink 100% (#2957)
* Match daAlink_c::checkHorseGetOff

* Match daAlink_c::procCanoeRowInit
2025-12-15 17:09:39 -08:00
Max Roncace bf4a07ca52
More Wii symbol cleanup (#2956) 2025-12-15 17:08:51 -08:00
LagoLunatic a11e3d6016
Fix bugs in weak_order_diff.py (#2955)
* Fix readelf path

* Improve diffing of literal/in-function data order
2025-12-15 17:08:14 -08:00
Max Roncace b9cb15ad98
Enable regHIO for Wii USA R0 (#2953) 2025-12-15 17:06:10 -08:00