Commit Graph

526 Commits

Author SHA1 Message Date
roeming 2481e184fb
Link J2DWindowEX (#2946)
* Add debug for J2DWindowEx, link GCN version

* locking non-const copy ctor behind GCN check

* fix typo for define

* fix another define typo

* update bugged ctor and leave a comment
2025-12-11 15:41:44 -08:00
Max Roncace 8ad2d661a2
Clean up conditional compilation a bit (#2943) 2025-12-11 15:34:16 -08:00
LagoLunatic 26f4c5a0fe
JASAramStream OK (#2937) 2025-12-09 14:52:31 -07:00
hatal175 cfded01caa
Match resource.cpp with a small fake match (#2936) 2025-12-09 13:44:27 -08:00
kipcode66 3b26aae532
Improving standard compiler compatibility (#2926)
* Adding explicit dolphin/ prefix & fix characters

* Rename ShiftJIS to SJIS

* Separate JASSeqReader read methods implementation between compilers.

* Fix pointer.h

* fix d_item_data typo

* fix gcn matching issue
2025-12-08 20:31:22 -08:00
LagoLunatic 251d49c6f1
JASBNKParser OK, Z2Audience OK (#2929) 2025-12-07 21:49:42 -08:00
LagoLunatic cd94afafa0
Match Z2SceneMgr::sceneBgmStart (#2923) 2025-12-06 21:09:16 -08:00
kipcode66 fc31053cb6
Improving compatibility with standard cpp compiler (#2920)
* Improving compatibility with standard cpp compiler

* Add __REGISTER macro for non mwcc compatibility

* Fix for PR comments

* fix missing define for revolution

* Simplifying cSAngle conversion
2025-12-06 21:08:05 -08:00
LagoLunatic 7ac2c38caf
Fix const loop invariant issues (#2921)
* Fix const loop invariant issues by defining explicit operator= for structs

* Fix J2DMatBlock weak func order
2025-12-06 14:19:09 -08:00
Max Roncace 136f6b3f40
d_kankyo debug work (#2918)
* Global: Define DEBUG as 0 if not already defined

* Clean up DEBUG-guarded code

* d_kankyo debug almost matching
2025-12-06 13:39:30 -08:00
Max Roncace a30e617e5a
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined

* Clean up DEBUG-guarded code
2025-12-06 13:34:47 -08:00
kipcode66 9f1a648851
fix TPosition3.h (#2919) 2025-12-05 22:24:34 -08:00
LagoLunatic ae9fa8922a
Work on weak function ordering (#2917)
* Fix functionvalue weak func order

* Add script to help diffing weak function order

* Improve alink weak func order (44 -> 15)

* Improve m_Do_ext weak order (12 -> 7)

* Remove old hack

* Fix d_a_tbox weak func order

* Fix d_a_npc_ks weak func order

* Fix error when trying to diff weak func order for ShieldD due to hidden function alignment gap symbols
2025-12-05 18:46:58 -08:00
LagoLunatic 4e4d89eab6
d_a_mg_rod 100% (#2914) 2025-12-05 11:52:18 -07:00
LagoLunatic 7fe9a68a9d
d_a_horse 100% (#2912)
* Fix missing line numbers for debug

* Fix horse inlines and HIO

* Match daHorse_c::setEffect

* Improve a few debug matches

* Match daHorse_c::checkHorseNoMove (half fake)

* Update configure.py
2025-12-04 16:03:13 -08:00
LagoLunatic f97d334732
Debug+retail matches and clean up some fakematches (#2910)
* Debug matches

* Match daAlink_c::procGrassWhistleWait

* Match JASAramStream::channelProc

* More debug matches

* Match JAUStreamStaticAramMgr_::deleteStreamAram and bitset inlines

* Fix some fakematches

* Fix gameinfo player info not being a struct

* Update bug comments

* Fix procids in alink

* d_a_scene_exit OK
2025-12-03 15:09:56 -08:00
robojumper 6a5397e847
JStudio debug improvements (#2902) 2025-12-01 16:33:32 -08:00
TakaRikka a6e76c0841
project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07:00
LagoLunatic 434415337d
J3DSkinDeform work (#2896)
* Match four inline asm functions with manual regalloc

* J3DSkinDeform::changeFastSkinDL: Clean up var names, slightly improve match

* Syntax

* More var names
2025-11-30 23:39:56 +02:00
LagoLunatic 7abe8d4a40
JASHeapCtrl OK (#2893) 2025-11-29 21:30:50 -08:00
Max Roncace 3e8442dcbd
Minor linklist.h debug fixes (#2887) 2025-11-28 18:11:57 -08:00
LagoLunatic 4fb3af91b8
Various small matches (#2879)
* Misc debug matches

* Fix JASBasicWaveBank weak func order

* Remove more dol2asm stuff, fix missing includes

* Some data fixes

* Update comments

* d_file_sel_warning is already OK

* Fix Z2 splits

* Fix movebox namespace

* Fix inlining issue in m_Do_ext

* Fix Z2 splits for P and J
2025-11-27 21:34:18 -08:00
TakaRikka 6f96e66518
various Z2Audio / JAudio debug cleanup (#2876)
* some JAudio work

* audio cleanup checkpoint

* checkpoint more audio cleanup

* fix symbols

* more z2 cleanup

* fix regression

* fix build

* some fixes
2025-11-27 21:19:33 -08:00
LagoLunatic 5d0da9be7c
Match J3DTransformInfo::operator=, fixing several regalloc issues (#2873) 2025-11-26 14:41:10 -07:00
Max Roncace 2bff9b49b5
d_particle equivalent (#2869) 2025-11-25 20:55:01 -08:00
Carco_21 9e232b61fb
Small matches/improvements (#2844)
* j2dmatblock debug work

* J2DMaterialFactory matching

* J2DPictureEx matching

* tiny work

* fixed regressions

* PR cleanup

* build error fix
2025-11-25 18:34:19 +02:00
LagoLunatic 2f2f37a734
Misc fixes (#2860)
* Misc matches

* Remove more old dol2asm stuff

* Remove dCcS::SetMass-related fakematches

No longer necessary with the PCH for some reason.

* Use attention types enum in more places

* Remove more dol2asm stuff

* Clean up matDL_dis.py
2025-11-25 18:32:34 +02:00
LagoLunatic e2fddadf32
Misc matches (#2845)
* Misc debug matches

* Fix d_map weak function order

* Remove old nonmatching comments

* d_menu_dmap and JASAudioThread OK, fix weak func order and rodata alignment

* More misc matches
2025-11-21 15:52:16 -08:00
roeming 6f7457a870
add debug functionality to d_a_horse, match almost all functions (#2834)
* add debug functinality to d_a_horse, match almost all functions

* fix some wii funcs

* fix wii build
2025-11-20 14:41:52 -08:00
LagoLunatic 4cf2c7e37d
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch

* d_a_obj_item OK

* Fix ninja diff

* Misc debug/nonmatching fixes

* Fix ninja diff for PAL

* Fix bad PAL split
2025-11-19 14:10:03 -08:00
hatal175 678c1a0e70
JSUOutputStream Matching for shield (#2825)
* JSUOutputStream Matching for shield

* Fix nonmatching in JAUSectionHeap
2025-11-19 10:17:26 -08:00
hatal175 8a39ebfa8b
fvb Matching (#2820)
* fvb Matching

* J2DScreen debug work
2025-11-18 18:13:35 -08:00
LagoLunatic bd2def28db
d_a_demo00 OK (#2817)
* Misc small matches

* Add J3DFrameCtrl::EMode_NULL enum

* Improve weak bss fakematch and remove a functionvalue fakematch

* demo00 OK
2025-11-17 15:38:04 -08:00
TakaRikka 540217c31b
wii building OK / m_Do_graphic debug work (#2815)
* wii building OK + m_Do_graphic debug work

* d_meter_HIO debug cleanup

* wii m_Do_graphic stuff

* tag_attack_item OK, mirror_chain almost

* fix build

* mg_fshop matching
2025-11-17 20:01:03 +02:00
Trueffel 9ea1b81288
d_a_e_tt OK & linked (#2803)
* class decomped

* two funcs missing

* done

* s32 to int

* improve

* remove old nonmatching comment
2025-11-14 16:40:11 -08:00
LagoLunatic 23a1c94063
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts

* More debug and regalloc fixes

* Fix PTMF syntax for compatibility with other compilers

* Fix some fakematches, link more TUs for J/P
2025-11-10 18:25:00 -08:00
roeming 5c298bc401
D a npc gra matching debug (#2788)
* match all d_a_npc_gra functions in debug

* update all offsets to match release

* rename parameters

* add ct hack for d_a_npc_gra

* add suggestions

* fix type

* use sound enums

* fix sinit and one regswap

* fix wrong variable usage
2025-11-09 15:17:04 -08:00
LagoLunatic ba7cdd4fe9
Debug work + some retail regalloc fixes (#2787)
* Debug work + some retail regalloc fixes

* Use AUDIO_INSTANCES in places it's missing, link d_a_e_bee

* Link m_Do_machine

* Fix clang putting other includes before the pchs

* Link some more debug TUs that already match
2025-11-09 11:43:14 -08:00
TakaRikka 194282d2c2
obj_pdwall / obj_rw / obj_stopper2 done (#2760)
* obj_pdwall / obj_rw / obj_stopper2 done

* fix jp/pal

* Use NULL instead of 0

* Use dEvtCnd_CANDEMO_e

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
2025-10-30 07:56:22 +02:00
TakaRikka 73927f50a9
kankyo / m_do_ext debug stuff (#2759)
* kankyo debug work

* finish draw packets
2025-10-28 05:55:46 +02:00
TakaRikka 850fae1aa3
m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)
* m_Do_main / f_ap_game debug stuff

* revolution sdk compatibility

* f_op_actor debug work

* rename fopAcM_SetupActor to fopAcM_ct

* fix build

* fix jp/pal splits
2025-10-19 20:30:49 +03:00
YunataSavior 6bef300342
minor dol fixes for linkability (#2720) 2025-10-01 20:14:06 -07:00
LagoLunatic 9eea9289b1
Fix JUT_ASSERT and several other macros (#2711)
* Fix JUT_ASSERT to be a nested define

* Switch names that appear in asserts to be constants instead of defines

* Replace `0` in asserts with `NULL` or `FALSE`

* Fix fpclassify

* Fix ARRAY_SIZE

* Use G_CM3D_F_INF

* More fixes for fpclassify

* Remove FLOAT_LABEL

* Remove incorrect FLAG_ON macro

* Remove UNK_BSS macro

* Silence clangd unused header warning for PCH
2025-09-28 13:11:07 -07:00
LagoLunatic 5dc86158bc
Fix most vtable issues (#2706) 2025-09-27 15:35:11 -07:00
LagoLunatic 54d8839d91
Remove unnecessary externs (#2705) 2025-09-27 15:30:54 -07:00
LagoLunatic 6242aa6e84
Misc matches and fixes (#2703)
* Match mDoExt_morf_c::getPlayMode

* Misc cleanup

* Fix actor cull spheres

* Match daPy_py_c::getLastSceneSwordAtUpTime, JUTGamePad::testTrigger

* Fix improper demangling of dBgS_SphChk::SetCallback

* Fix d_camera rangef weak func order

* Match more alink_wolf funcs
2025-09-26 18:50:46 -07:00
LagoLunatic dbf6abeb90
Use composition instead of inheritance for most f_op classes (#2700) 2025-09-25 12:57:15 -07:00
TakaRikka 9a2df2162b
d_debug_camera mostly done (#2695)
* d_debug_camera mostly done

* update some alink demo stuff

* some misc debug stuff
2025-09-25 18:20:46 +03:00
hatal175 169c7ae4a2
JHOSTIO almost comletely linked (#2689) 2025-09-23 20:27:24 -06:00
Carco_21 5f70650ba2
d_a_e_gm matching (#2669)
* initial work

* Almost matching

* missed formatting changes

* matching

* changed to equivalent

* PR cleanup, now matching
2025-09-20 03:44:42 +03:00