Skip to content

d_save debug#3087

Open
Jcw87 wants to merge 1 commit intozeldaret:mainfrom
Jcw87:d_save
Open

d_save debug#3087
Jcw87 wants to merge 1 commit intozeldaret:mainfrom
Jcw87:d_save

Conversation

@Jcw87
Copy link
Contributor

@Jcw87 Jcw87 commented Feb 6, 2026

No description provided.

@decomp-dev
Copy link

decomp-dev bot commented Feb 6, 2026

Report for Shield (00bdde3 - 77511d4)

📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_file_select dFile_select_c::nameInputFade() +8 96.06% 99.55%

Report for GZ2E01 (00bdde3 - 77511d4)

No changes

Report for ShieldD (00bdde3 - 77511d4)

📈 Matched code: 49.24% (+0.02%, +3268 bytes)
📈 Matched data: 46.61% (+0.07%, +2720 bytes)

✅ 28 new matches
Unit Item Bytes Before After
framework/d/d_save dComIfGs_setEventReg(unsigned short, unsigned char) +60 0.00% 100.00%
framework/d/d_save dComIfGs_setOptAttentionType(unsigned char) +56 0.00% 100.00%
framework/d/d_save dComIfGs_setHorseName(const char*) +56 0.00% 100.00%
framework/d/d_save dComIfGs_setPlayerName(const char*) +56 0.00% 100.00%
framework/d/d_save dComIfGs_getEventReg(unsigned short) +52 0.00% 100.00%
framework/d/d_save dComIfGs_getOptAttentionType() +48 0.00% 100.00%
framework/d/d_save dComIfGs_getHorseName() +48 0.00% 100.00%
framework/d/d_save dComIfGs_getPlayerName() +48 0.00% 100.00%
framework/d/d_save dComIfGs_getClearCount() +48 0.00% 100.00%
framework/d/d_save .data +38 98.58% 100.00%
framework/d/d_save dSv_info_c::revSwitch(int, int) +38 92.42% 100.00%
framework/d/d_save dSv_info_c::isItem(int, int) const +38 92.42% 100.00%
framework/d/d_save dSv_info_c::createZone(int) +13 91.06% 100.00%
framework/d/d_save dSv_player_config_c::getAttentionType() const +12 0.00% 100.00%
framework/d/d_save dSv_player_info_c::getClearCount() const +12 0.00% 100.00%
framework/d/d_save dSv_danBit_c::operator=(const dSv_danBit_c&) +9 93.94% 100.00%
framework/d/d_save dSv_player_config_c::setAttentionType(unsigned char) +8 0.00% 100.00%
framework/d/d_save dSv_player_info_c::getHorseName() const +8 0.00% 100.00%
framework/d/d_save dSv_player_info_c::getPlayerName() const +8 0.00% 100.00%
framework/d/d_save dSv_player_get_item_c::offFirstBit(unsigned char) +7 97.09% 100.00%
framework/d/d_save dSv_memBit_c::offTbox(int) +7 96.44% 100.00%
framework/d/d_save dSv_memBit_c::offSwitch(int) +7 96.52% 100.00%
framework/d/d_save dSv_memBit_c::offItem(int) +7 96.52% 100.00%
framework/d/d_save dSv_memory2_c::offVisitedRoom(int) +7 96.44% 100.00%
framework/d/d_save dSv_danBit_c::offSwitch(int) +7 96.52% 100.00%
framework/d/d_save dSv_danBit_c::offItem(int) +7 96.52% 100.00%
framework/d/d_save dSv_zoneActor_c::off(int) +7 96.44% 100.00%
framework/d/d_save .sdata +4 95.74% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_save dSv_info_c::isSwitch(int, int) const +81 81.33% 99.38%

Report for GZ2J01 (00bdde3 - 77511d4)

No changes

Report for RZDE01_00 (00bdde3 - 77511d4)

📈 Matched code: 45.33% (+0.00%, +44 bytes)

✅ 1 new match
Unit Item Bytes Before After
framework/d/d_save dSv_player_config_c::getVibration() +39 12.73% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_save dSv_info_c::card_to_memory(char*, int) +3 92.84% 93.83%

Report for RZDE01_02 (00bdde3 - 77511d4)

📈 Matched code: 52.80% (+0.00%, +44 bytes)

✅ 1 new match
Unit Item Bytes Before After
framework/d/d_save dSv_player_config_c::getVibration() +39 12.73% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_save dSv_info_c::card_to_memory(char*, int) +3 92.84% 93.83%

Report for RZDP01 (00bdde3 - 77511d4)

📈 Matched code: 51.67% (+0.00%, +44 bytes)

✅ 1 new match
Unit Item Bytes Before After
framework/d/d_save dSv_player_config_c::getVibration() +39 12.73% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_save dSv_info_c::card_to_memory(char*, int) +3 92.84% 93.83%

Report for RZDJ01 (00bdde3 - 77511d4)

📈 Matched code: 51.99% (+0.00%, +44 bytes)

✅ 1 new match
Unit Item Bytes Before After
framework/d/d_save dSv_player_config_c::getVibration() +39 12.73% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_save dSv_info_c::card_to_memory(char*, int) +3 92.84% 93.83%

Report for DZDE01 (00bdde3 - 77511d4)

📈 Matched code: 50.27% (+0.00%, +44 bytes)

✅ 1 new match
Unit Item Bytes Before After
framework/d/d_save dSv_player_config_c::getVibration() +39 12.73% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
framework/d/d_save dSv_info_c::card_to_memory(char*, int) +3 92.84% 93.83%

Report for GZ2P01 (00bdde3 - 77511d4)

No changes

Comment on lines +1573 to +1585
bool r27 = true;
bool r26 = true;
bool r25 = false;
if (0 <= i_no && i_no < (MEMORY_SWITCH|DAN_SWITCH|ZONE_SWITCH|ONEZONE_SWITCH)) {
r25 = true;
}
if (!r25 && i_no != -1) {
r26 = false;
}
if (!r26 && i_no != 255) {
r27 = false;
}
if (!r27) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this strongly appears like a chained condition in an assert. is there a way to get that to match here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

With all of the conditions in the same if statement, I was not able to get it to generate the temp bools. I've seen this work elsewhere (and tweaked it to match), but I'm not sure what causes the compiler to do it in the first place.

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