mirror of https://github.com/zeldaret/tp.git
fopScnRq_Cancel OK
This commit is contained in:
parent
a85040de4f
commit
f5e3ba0868
|
@ -21,5 +21,6 @@ int fopOvlpM_IsDone(void);
|
|||
int fopOvlpM_IsDoingReq(void);
|
||||
int fopOvlpM_ClearOfReq(void);
|
||||
request_base_class* fopOvlpM_Request(s16 param_1, u16 param_2);
|
||||
int fopOvlpM_Cancel(void);
|
||||
|
||||
#endif
|
|
@ -107,9 +107,13 @@ int fopScnRq_PostMethod(void* param_1, scene_request_class* pScnRq) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
asm void fopScnRq_Cancel(scene_request_class*) {
|
||||
nofralloc
|
||||
#include "f/f_op/f_op_scene_req/asm/func_8001EFB0.s"
|
||||
int fopScnRq_Cancel(scene_request_class* pScnRq) {
|
||||
|
||||
if (pScnRq->mFadeRequest && !fopOvlpM_Cancel()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
asm void fopScnRq_FadeRequest(s16, u16) {
|
||||
|
|
Loading…
Reference in New Issue