Commit Graph

32 Commits

Author SHA1 Message Date
coah
a824e02a30 fix: restore 43U DOL hash on main (#213)
* fix: restore MSL extab flags and force-active stripped symbols

* fix: limit ChannelTitle novtable header changes to IPL_CHANNEL_TITLE_NOVTABLE

PR #182 made gui::EventHandler novtable and rewrote HermiteIntp for every
unit, which dropped __vt__Q23gui12EventHandler from linked scene units and
moved EventHandler::onEvent. Restore the pre-#182 definitions unless the
macro is defined.

* fix: restore u16 addrType in cdb::Manager::createNewRecord

The original symbol takes u16 (mangled UsUs); the enum parameter made
createNewRecord 4 bytes longer. Match the caller in iplNwc24Manager with a
u16 local assigned through if/else.

* fix: emit TVRC loop handlers after TVRCSendStartAsync

The original object places both alarm handlers at the end of .text.

* fix: construct scene::Date::mscMaxDate with utility::Date

The MaxDate wrapper emitted a weak MaxDate ctor that the original does
not have, shifting .text by 0x10 after iplDate. Go back to a plain
utility::Date followed by the 0x10-byte padding array.

* fix: define textinput PaneComponent dtor after PaneManager dtor

Matches the original object's function order, which also pulls the weak
GUIComponent dtor into place.

* fix: define EGG audio Arg and SoundHeapMgr ctors out of line

Emits IAudioMgr::Arg::Arg first and SoundHeapMgr's weak dtor ahead of its
ctor, matching the original eggAudioMgr function order.

* fix: define WaveFile dtors in AudioWavePlayer after the ctor

The original emits WavePacket's weak dtor first, then the WaveFileAiff and
WaveFileWav dtors. Declaring the dtors after getBit keeps the vtables in
AudioWaveUtility.

* fix: restore fork-point iplCSMtx string pooling

Moving "MTX34" into a static const array put it in .sdata2 and left the
pooled .sdata copy to be dead-stripped, shifting both sections.

* fix: share tiGUIManager's named 0.0f constant

drawLine_ and PaneComponent::contain now load lbl_81694EE8, as in the
original, instead of emitting their own 0.0f ahead of it in .sdata2.

* fix: force-active unreferenced iplDate and WDScan data

MWLD dead-strips scene::padding (the 0x10 bytes after Date::mscMaxDate)
and the unreferenced WDScan .sdata2 bytes lbl_81695063/lbl_81695067,
which shifted .bss and .sdata2.

* fix: unlink eggAudioExpMgr

MWCC emits the @52 calc thunk ahead of the @52 dtor thunk, but the
original has them the other way round, which swaps two vtable entries.
Link the original object until the order is matched.

* fix: shrink Calendar .data padding now that EventHandler has a vtable

With gui::EventHandler no longer novtable, its 0x18-byte vtable fills most
of the gap after __vt__Q33ipl5scene8Calendar; keep one 4-byte pad.
2026-09-27 23:26:31 -05:00
coah
4d17116c3b Match snd::System::holdSE 2026-09-19 18:38:47 +00:00
coah
1feaba07f3 Match EGG ArcPlayer startSound 2026-09-19 18:24:32 +00:00
koopthekoopa
18213a8f5d Equivalent match iplChannelTitle.cpp 2026-07-22 19:41:35 +01:00
koopthekoopa
cd912d9331 Equivalent match EGG 2026-07-09 15:48:38 +01:00
koopthekoopa
926fce7450 Equilavent match iplChannelSelect.cpp 2026-06-19 16:33:07 +01:00
koopthekoopa
443a08bd50 Match iplTVRCManager.cpp 2026-06-10 22:33:25 +01:00
koopthekoopa
5947da829f Match more of iplChannelScriptManager.cpp 2026-03-18 14:58:16 +00:00
koopthekoopa
6eaf58f2de Say hello, clang-format 2026-03-15 13:32:23 +00:00
koopthekoopa
4814ec935c Update dtk-template 2025-12-11 20:04:56 +00:00
koopthekoopa
3ab6ceb059 little cleanup 2025-11-20 10:59:07 +00:00
koopthekoopa
e0cf498eac Equilavent match iplSystem.cpp 2025-08-07 16:56:56 +01:00
koopthekoopa
bb63cf6124 Match iplCdbBackup.cpp 2025-08-05 15:45:44 +01:00
koopthekoopa
e21cf25aac Some progress on MSL 2025-06-01 21:34:36 +01:00
koopthekoopa
a9deee51cf cleaning cleaning clean 2025-05-21 23:30:54 +01:00
koopthekoopa
de086be635 Progress on iplSDMenuButton.cpp 2025-04-09 23:02:27 +01:00
koopthekoopa
fa115b26c3 Match 74% of iplNandShared and link iplNandManager 2025-01-22 18:17:23 +00:00
koopthekoopa
aa94bf11bd Match 93% of iplSceneManager 2025-01-21 19:36:01 +00:00
koopthekoopa
101fbb4509 Decompile and link iplLimitOver.cpp 2025-01-14 12:04:14 +00:00
koopthekoopa
eace114d30 Decompile and Link Gui Manager 2025-01-09 22:52:03 +00:00
koopthekoopa
0393d0aa94 Decompile and link iplLayout.cpp 2025-01-04 12:21:17 +00:00
koopthekoopa
65825c287b Move to dtk-template 2025-01-03 13:06:52 +00:00
koopthekoopa
8fd083cf54 Progress iplChannelScriptManager.cpp 2024-11-10 17:59:54 +00:00
koopthekoopa
014451141e Decompile iplNandMeta.cpp and attempt iplNand.cpp 2024-10-08 00:22:56 +01:00
koopthekoopa
9ea4b7efeb Decompile iplReboot.cpp and iplBackMenu.cpp 2024-09-13 15:24:06 +01:00
koopthekoopa
3fa23fa310 Decompile iplNandWrapper.cpp 2024-09-01 00:22:29 +01:00
koopthekoopa
25f58b0f30 Decompile iplResetHandler.cpp to 44% 2024-08-18 00:14:38 +01:00
koopthekoopa
e5ae348856 Decompile iplErrorHandler.cpp and iplWarningHandler.cpp 2024-08-17 16:46:18 +01:00
koopthekoopa
759fa799b6 Clean up code. 2024-08-02 17:51:04 +01:00
koopthekoopa
a48cd85c9e Decompile iplPointer.cpp 2024-07-23 13:56:43 +01:00
koopthekoopa
e3c69c68b9 Decompile iplCapture.cpp 2024-07-16 19:43:28 +01:00
koopthekoopa
bce41216af Decompile iplNigaoe.cpp 2024-07-02 15:09:21 +01:00