diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-03-18 12:45:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-18 15:45:44 -0400 |
| commit | d3e9175bfb5ca4fce4633e473d8d8a3556c3d3ef (patch) | |
| tree | 21a10894e590edebe9cd928a2fb48f4e8d061262 /src/f_pc/f_pc_manager.cpp | |
| parent | 58ba86b6a3cfebe38b643b7ffecf72090a720db0 (diff) | |
d_a_e_pz equivalent (#2330)
* d_a_e_pz equivalent
* rename var
* match f_pc closer to debug
* hopefully fix decompctx
* sdk done
* remove unneeded file
Diffstat (limited to 'src/f_pc/f_pc_manager.cpp')
| -rw-r--r-- | src/f_pc/f_pc_manager.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/f_pc/f_pc_manager.cpp b/src/f_pc/f_pc_manager.cpp index 6b17d0f9b1..376bc52b08 100644 --- a/src/f_pc/f_pc_manager.cpp +++ b/src/f_pc/f_pc_manager.cpp @@ -65,8 +65,13 @@ void fpcM_Management(fpcM_ManagementFunc i_preExecuteFn, fpcM_ManagementFunc i_p dPa_control_c::offStatus(1); } - fpcPi_Handler(); - fpcCt_Handler(); + if (!fpcPi_Handler()) { + JUT_ASSERT(353, 0); + } + + if (!fpcCt_Handler()) { + JUT_ASSERT(357, 0); + } if (i_preExecuteFn != NULL) { i_preExecuteFn(); @@ -126,10 +131,10 @@ void* fpcM_JudgeInLayer(fpc_ProcID i_layerID, fpcCtIt_JudgeFunc i_judgeFunc, voi if (layer != NULL) { void* ret = fpcCtIt_JudgeInLayer(i_layerID, i_judgeFunc, i_data); if (ret == NULL) { - ret = fpcLyIt_Judge(layer, i_judgeFunc, i_data); + return fpcLyIt_Judge(layer, i_judgeFunc, i_data); } return ret; - } else { - return NULL; } + + return NULL; } |
