diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2022-10-03 15:26:26 -0700 |
|---|---|---|
| committer | Pheenoh <pheenoh@gmail.com> | 2022-12-20 16:27:00 -0700 |
| commit | 84950e08b4a525a7d94c5726dbe6d53e6cb53cf1 (patch) | |
| tree | fde72809184e4365eae205b26b14d5fee5698dcd /src/f_pc/f_pc_stdcreate_req.cpp | |
| parent | fb504a1bff6d6fabf1498000f9e3dcbfe5d10edf (diff) | |
d_camera / m_Do_ext / d_particle + minor various wip (#210)
Diffstat (limited to 'src/f_pc/f_pc_stdcreate_req.cpp')
| -rw-r--r-- | src/f_pc/f_pc_stdcreate_req.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/f_pc/f_pc_stdcreate_req.cpp b/src/f_pc/f_pc_stdcreate_req.cpp index f0539aa172..77f2f9503a 100644 --- a/src/f_pc/f_pc_stdcreate_req.cpp +++ b/src/f_pc/f_pc_stdcreate_req.cpp @@ -82,16 +82,17 @@ s32 fpcSCtRq_phase_Done(standard_create_request_class* param_0) { /* 80023D14-80023D84 0070+00 s=1 e=0 z=2 None .text * fpcSCtRq_Handler__FP29standard_create_request_class */ s32 fpcSCtRq_Handler(standard_create_request_class* pStdCreateReq) { - s32 result = cPhs_Do(&pStdCreateReq->unk_0x48, pStdCreateReq); - switch (result) { - case 2: + s32 phase_state = cPhs_Do(&pStdCreateReq->unk_0x48, pStdCreateReq); + + switch (phase_state) { + case cPhs_TWO_e: return fpcSCtRq_Handler(pStdCreateReq); - case 4: - return 4; - case 1: - case 5: + case cPhs_COMPLEATE_e: + return cPhs_COMPLEATE_e; + case cPhs_ONE_e: + case cPhs_ERROR_e: default: - return result; + return phase_state; } } |
