Commit Graph

107 Commits

Author SHA1 Message Date
coah
784a463f27 feat: match iplChanAppBase unit (#215)
Define AnmController before the gui classes in this unit so its weak
vtable is emitted last, name the unit's .data literals as
compiler-generated symbols, and link the unit.
2026-09-27 23:29:20 -05:00
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
coah
1171037c9b Match iplDate static data 2026-09-22 04:25:34 +00:00
coah
06b833a14b Match address destroy 2026-09-20 14:03:20 +00:00
coah
72280d4ee3 Match address NWC24 state 2026-09-20 13:43:26 +00:00
coah
bd8334a741 Match address parental state 2026-09-20 13:43:13 +00:00
coah
ef6987878b Match address edit message state 2026-09-20 13:43:02 +00:00
coah
71cf69bb1b Match address add message state 2026-09-20 13:42:50 +00:00
coah
f051f83348 Match address string clear 2026-09-20 13:22:01 +00:00
coah
9fd301c8fd Match address display code 2026-09-20 13:19:33 +00:00
Hydoza
1d9d608ae1 Fix header guard typo in APScanThread class 2026-08-01 03:52:34 +02:00
Hydoza
50dff0d4c1 Match APScanThread class 2026-08-01 03:11:28 +02:00
koopthekoopa
18213a8f5d Equivalent match iplChannelTitle.cpp 2026-07-22 19:41:35 +01:00
Skyler Calaman
a8df98f25a iplNandSDWorker_AutoTest Matching, split string blocks in iplKitayamaTest 2026-07-11 14:54:02 -04:00
koopthekoopa
4917e4e680 Update CONTRIBUTING.md 2026-07-09 17:47:55 +01:00
koopthekoopa
ff68d54ab3 clean up 2026-07-08 16:37:32 +01:00
koopthekoopa
13908b1198 Fix compile and link errors 2026-06-28 10:01:17 +01:00
KoopTheKoopa
af1e856d37 Merge pull request #31 from Blckbrry-Pi/Save-and-Channel-Edit
Scenes & classes for Editing Save & Channel Data (`channelEdit`, `memory`, and `saveDataEdit` scenes)
2026-06-27 17:28:47 +01:00
KoopTheKoopa
e552bdce32 Merge pull request #30 from Blckbrry-Pi/nakamuratest-scene
Match the NakamuraTest scene
2026-06-27 17:28:32 +01:00
Skyler Calaman
4201524aba iplChannelEdit.cpp Matching, iplChanApp<Base, Box, Edit> Equivalent
- ChanAppBase is not matching because of vtable order
- ChanAppBox is not matching because an extra 0.0f in .sdata2
- ChanAppEdit is not matching because of LinearIntp's get
2026-06-27 04:12:20 -04:00
Skyler Calaman
419466f80e iplNandSDWorker.cpp Matching 2026-06-27 04:12:19 -04:00
Skyler Calaman
5ddc279955 iplNandSDCardManager.cpp matching 2026-06-27 04:12:18 -04:00
Skyler Calaman
3765289e49 iplThumbnail Matching 2026-06-27 04:12:17 -04:00
Skyler Calaman
45d77bd33d iplAnmController.cpp Matching 2026-06-27 04:12:16 -04:00
Skyler Calaman
523faaaf13 iplMemory.cpp Matching 2026-06-27 04:12:15 -04:00
Skyler Calaman
2a3c5ed109 Get iplSavedata<Base, Box, Edit> equivalent
There is a weird bit of padding in `.data`, most likely from deadstripped stuff.
2026-06-27 04:12:13 -04:00
Skyler Calaman
a523305242 iplNakamuraTest.cpp Matching 2026-06-27 04:10:03 -04:00
Skyler Calaman
9430061dd5 iplContest.c Matching 2026-06-27 04:10:02 -04:00
Skyler Calaman
c55e55c6f1 iplNetSetup.cpp Matching 2026-06-27 04:10:01 -04:00
Skyler Calaman
52e92b44bc Finish up iplNCDSetting.cpp 2026-06-27 04:08:35 -04:00
Skyler Calaman
1d26d43527 Finish matching iplSceneManager 2026-06-27 04:08:32 -04:00
koopthekoopa
926fce7450 Equilavent match iplChannelSelect.cpp 2026-06-19 16:33:07 +01:00
kr1viah
532d93a66b checkWEPKey() 90.03% 2026-05-04 11:35:56 +02:00
kr1viah
c38cf20c0b setBasicFlag(), setDNSFlag(), setDHCPFlag(), setConnectTestFlag(), adjustEnableFlag_(), adjustSelectMedia_() 100%, adjustNCDData_() 99.69%, checkProxyBasic() 100%, checkProxy() 99.10% 2026-05-04 11:35:56 +02:00
kr1viah
74bcdf5755 setProxyFlag() 100% 2026-05-04 11:35:55 +02:00
kr1viah
715727eb02 setPrivacy() regswap 98.74%, setWDPrivacyMode() 100% 2026-05-04 11:35:55 +02:00
kr1viah
1b360a7cc8 setPrivacyMode(), setIP(), setDNS() 100% 2026-05-04 11:35:55 +02:00
kr1viah
4cfc4f48fa checkFlag() 93.72% (I have no idea what's going on), setWired(), setWireless(), changeConnectType(), setSSID(), 100%, setPrivacyMode() 70.62% 2026-05-04 11:35:54 +02:00
kr1viah
bae3527c7f checkFlag() 100% 2026-05-04 11:35:54 +02:00
kr1viah
fb106ae7ae getNCDPrivacyMode(), getPrivacy() 100%, cleaner getPrivacyLen(), getUseProfileID(), getPrivacyMode() 100% 2026-05-04 11:35:53 +02:00
kr1viah
8311bd055c getPrivacyLen() 100% 2026-05-04 11:35:53 +02:00
kr1viah
49a0ce3ba0 getMacAddr(), getProxy(), getMTU(), getData(), getConnectEnableFlag(), getEnableFlag(), adjustNCWC24Flag(), adjustNCW24FlaxEx_() 100% 2026-05-04 11:35:53 +02:00
kr1viah
36a234c310 getID(), getSSID(), getMacNum(), 100% getUseProfileID() 93.00%, getIP() 91.43% 2026-05-04 11:35:52 +02:00
kr1viah
b075513e6e backupData(), resetData(), setUseProfileID() 100% 2026-05-04 11:35:52 +02:00
kr1viah
f5f21a62d5 touch up checkFlag()s 2026-05-04 11:35:51 +02:00
kr1viah
d4f358de98 setProxy(), setBasic(), clearData(), clearLocal() 100% 2026-05-04 11:35:51 +02:00
kr1viah
1a8720a355 checkProxyFlag(), checkDNSFlag() 100% 2026-05-04 11:35:48 +02:00
kr1viah
45bf874fec checkChangeEnable() 94.55% 2026-05-04 11:35:48 +02:00
kr1viah
26793c9ee3 i figured it out (checkConnectTestFlag() 100%) 2026-05-04 11:35:47 +02:00