Skip to content

99% SystemWipeHolder and a couple of small things#1932

Merged
ThatNintendoNerd merged 34 commits into
SMGCommunity:masterfrom
Gonzalo-kebab:master
Jun 16, 2026
Merged

99% SystemWipeHolder and a couple of small things#1932
ThatNintendoNerd merged 34 commits into
SMGCommunity:masterfrom
Gonzalo-kebab:master

Conversation

@Gonzalo-kebab

Copy link
Copy Markdown
Contributor

No description provided.

@decomp-dev

decomp-dev Bot commented Jun 16, 2026

Copy link
Copy Markdown

Report for RMGK01 (fe41c87 - 57b1216)

📈 Matched code: 55.67% (+0.03%, +1616 bytes)
📈 Linked code: 8.78% (+0.08%, +4180 bytes)
📈 Matched data: 25.65% (+0.04%, +616 bytes)
📈 Linked data: 9.03% (+0.04%, +648 bytes)

✅ 16 new matches
Unit Item Bytes Before After
main/Game/Screen/SystemWipeHolder SystemWipeHolder::movement() +308 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::init(const JMapInfoIter&) +288 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::drawGameScreenCapture() const +240 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::draw() const +180 0.00% 100.00%
main/Game/Screen/SystemWipeHolder .data +160 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::calcAnim() +156 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::updateWipe(const char*) +84 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::SystemWipeHolder() +80 0.00% 100.00%
main/Game/Screen/SystemWipeHolder MR::createSystemWipeHolder() +76 0.00% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::setWipeRingCenter(const JGeometry::TVec3<float>&) +60 0.00% 100.00%
main/Game/MapObj/MapParts MapParts::MapParts(const char*) +22 74.29% 100.00%
main/Game/Screen/SystemWipeHolder SystemWipeHolder::startGameScreenCapture() +20 0.00% 100.00%
main/Game/Screen/BatteryInfo .data +13 97.25% 100.00%
main/Game/Screen/SystemWipeHolder .rodata +8 0.00% 100.00%
main/Game/Screen/SystemWipeHolder .sdata2 +8 0.00% 100.00%
main/Game/System/AlreadyDoneFlagInGalaxy AlreadyDoneInfo::set(bool) +1 99.00% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
main/Game/Screen/SystemWipeHolder SystemWipeHolder::~SystemWipeHolder() +88 0.00% 95.65%

Comment thread src/Game/Screen/SystemWipeHolder.cpp Outdated
Comment on lines +6 to +7
#include "JSystem/J2DGraph/J2DPicture.hpp"
#include "JSystem/JUtility/JUTVideo.hpp"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap library include directives with angle brackets instead of quotation marks.

Comment thread src/Game/Screen/SystemWipeHolder.cpp Outdated
Comment on lines +13 to +15
addWipeLayout(new WipeFade("フェードワイプ", Color8(0x00, 0x00, 0x00, 0xFF)));
addWipeLayout(new WipeRing(false, "円ワイプ"));
addWipeLayout(new WipeFade("白フェードワイプ", Color8(0xFF, 0xFF, 0xFF, 0xFF)));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer decimal notation for color values instead of hexadecimal.

Comment thread src/Game/Screen/SystemWipeHolder.cpp Outdated
}

void SystemWipeHolder::drawGameScreenCapture() const {
if (_1C) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return early if _1C is false.

Comment thread src/Game/Screen/SystemWipeHolder.cpp Outdated
f32 width = MR::getScreenWidth();
// inlined MR::getscreenHeight
f32 height = (s32)JUTVideo::getManager()->getEfbHeight();
;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary line with stray semicolon.

@Gonzalo-kebab

Copy link
Copy Markdown
Contributor Author

all requested changes have been adressed

@ThatNintendoNerd ThatNintendoNerd merged commit 986f5d5 into SMGCommunity:master Jun 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants