fopScnRq_Execute OK

This commit is contained in:
Pheenoh
2021-03-20 19:39:04 -04:00
parent ac90ba1c85
commit 6e25909257
2 changed files with 12 additions and 4 deletions
-1
View File
@@ -14,7 +14,6 @@ void fopScnRq_ReRequest(void);
class scene_request_class {
public:
node_create_request mCrtReq;
u8 field_0x60[4];
int mFadeRequest;
request_of_phase_process_class mReqPhsProcCls;
u8 field_0x70[4];
+12 -3
View File
@@ -90,11 +90,20 @@ int fopScnRq_phase_Done(scene_request_class* pScnRq) {
return 2;
}
asm void fopScnRq_Execute(scene_request_class*) {
nofralloc
#include "f/f_op/f_op_scene_req/asm/func_8001EF24.s"
void fopScnRq_Execute(scene_request_class* pScnRq) {
int tmp = cPhs_Do(&pScnRq->mReqPhsProcCls,pScnRq);
switch (tmp) {
case 2: {
fopScnRq_Execute(pScnRq);
}
}
}
// asm void fopScnRq_Execute(scene_request_class*) {
// nofralloc
// #include "f/f_op/f_op_scene_req/asm/func_8001EF24.s"
// }
asm void fopScnRq_PostMethod(void*, scene_request_class*) {
nofralloc
#include "f/f_op/f_op_scene_req/asm/func_8001EF6C.s"