Commit Graph

31 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
bf479c7e3f Match ChannelTitle unit (#182) 2026-09-22 03:22:51 -05:00
koopthekoopa
926fce7450 Equilavent match iplChannelSelect.cpp 2026-06-19 16:33:07 +01:00
koopthekoopa
6eaf58f2de Say hello, clang-format 2026-03-15 13:32:23 +00:00
koopthekoopa
5c86eaecdd Start progress on software keyboard 2026-03-12 23:34:48 +00:00
koopthekoopa
1e50509a9b Progress on homebutton 2026-03-05 00:26:49 +00:00
koopthekoopa
4e192d7335 Progress on iplChannelObj.cpp 2026-02-23 08:32:09 +00:00
koopthekoopa
3ba3a93a27 Equilavent match scene/board 2026-01-22 16:39:57 +00:00
koopthekoopa
b3f09fb5f7 Match iplFaceSelect.cpp 2025-09-03 13:50:45 +01:00
koopthekoopa
c0708f6361 Match iplSDButton.cpp 2025-07-08 10:57:07 +01:00
koopthekoopa
4a4f66ad19 Match DVD 2025-05-12 19:56:48 +01:00
koopthekoopa
417fb17b4b Match almost all of NW4R LYT 2025-05-07 13:29:28 +01:00
koopthekoopa
f274da508c Match FS and NAND 2025-04-29 23:45:08 +01:00
koopthekoopa
8570d6fbce Match IPC and SCUTIL 2025-04-17 22:20:31 +01:00
koopthekoopa
d781eb7970 Match iplArrow 2025-04-10 00:25:30 +01:00
koopthekoopa
de086be635 Progress on iplSDMenuButton.cpp 2025-04-09 23:02:27 +01:00
koopthekoopa
5af63a0ebc Match most of iplBalloon 2025-04-09 09:56:42 +01:00
koopthekoopa
d32ce76ad5 Match OS and EXI 2025-04-07 01:01:59 +01:00
koopthekoopa
6a6bd8b0dd Work on iplSaveManager 2025-02-19 11:28:59 +00:00
koopthekoopa
e4bf898e15 Decompile and link iplSettingButton.cpp 2025-01-24 11:25:34 +00:00
koopthekoopa
7d16ea7ca9 Decompile iplDialogWindow to 97% 2025-01-12 15:53:18 +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
5766e10eeb Port symbols for 4.3E, J and K 2024-11-10 13:57:58 +00:00
koopthekoopa
871c53690a Split keyboard.a and channelScript.a 2024-09-18 18:30:21 +01:00
koopthekoopa
9ea4b7efeb Decompile iplReboot.cpp and iplBackMenu.cpp 2024-09-13 15:24:06 +01:00
koopthekoopa
e5ae348856 Decompile iplErrorHandler.cpp and iplWarningHandler.cpp 2024-08-17 16:46:18 +01:00
koopthekoopa
5b957e80d5 Add descriptions on functions 2024-08-03 12:13:26 +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