diff options
| author | roeming <brother64youyou@gmail.com> | 2025-12-07 20:09:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-07 17:09:47 -0800 |
| commit | 07a4e6b05289b7efcd37f9c69afb8336c0171aa0 (patch) | |
| tree | bfe2a1297687b67d6539eb5102d8af992b591369 /src/d/d_msg_flow.cpp | |
| parent | e82c27fd001994abdd894f94d62b7e628b446c8e (diff) | |
match debug for D_menu_fmap2_d (#2925)
* menu_fmap2d debug progress
* match debug for d_menu_fmap2D
* fix broken function
* fix weird shield mismatch
* fix other shield mismatch
* fix suggestions
* fix func for wii version
* match func for all versions
* remove cast from saveBitLabels
Diffstat (limited to 'src/d/d_msg_flow.cpp')
| -rw-r--r-- | src/d/d_msg_flow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/d_msg_flow.cpp b/src/d/d_msg_flow.cpp index 3201873387..29075fe597 100644 --- a/src/d/d_msg_flow.cpp +++ b/src/d/d_msg_flow.cpp @@ -767,7 +767,7 @@ void dMsgFlow_c::dbgPrint() {} u16 dMsgFlow_c::query001(mesg_flow_node_branch* i_flowNode_p, fopAc_ac_c* i_speaker_p, int param_2) { const u16 prm0 = i_flowNode_p->param; - u16 ret = dComIfGs_isEventBit((u16)dSv_event_flag_c::saveBitLabels[prm0]) == false; + u16 ret = dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[prm0]) == false; if (param_2 != 0) { // "Flag Check" @@ -1753,11 +1753,11 @@ int dMsgFlow_c::event000(mesg_flow_node_event* i_flowNode_p, fopAc_ac_c* i_speak OS_REPORT("flow:%d, prm0:%d, prm1:%d\n", mFlow, prm0, prm1); if (prm0 != 0) { - dComIfGs_onEventBit((u16)dSv_event_flag_c::saveBitLabels[prm0]); + dComIfGs_onEventBit(dSv_event_flag_c::saveBitLabels[prm0]); } if (prm1 != 0) { - dComIfGs_onEventBit((u16)dSv_event_flag_c::saveBitLabels[prm1]); + dComIfGs_onEventBit(dSv_event_flag_c::saveBitLabels[prm1]); } return 1; @@ -1772,11 +1772,11 @@ int dMsgFlow_c::event001(mesg_flow_node_event* i_flowNode_p, fopAc_ac_c* i_speak OS_REPORT("flow:%d, prm0:%d, prm1:%d\n", mFlow, prm0, prm1); if (prm0 != 0) { - dComIfGs_offEventBit((u16)dSv_event_flag_c::saveBitLabels[prm0]); + dComIfGs_offEventBit(dSv_event_flag_c::saveBitLabels[prm0]); } if (prm1 != 0) { - dComIfGs_offEventBit((u16)dSv_event_flag_c::saveBitLabels[prm1]); + dComIfGs_offEventBit(dSv_event_flag_c::saveBitLabels[prm1]); } return 1; |
