fopKy_Create attempt

This commit is contained in:
Pheenoh
2022-12-27 22:43:29 -07:00
parent 9b5bc55f2a
commit 791399ac6c
3 changed files with 62 additions and 35 deletions
+5
View File
@@ -2,5 +2,10 @@
#define F_OP_F_OP_KANKYO_H
#include "dolphin/types.h"
#include "f_pc/f_pc_manager.h"
inline void* fopKyM_GetAppend(void* param_0) {
return fpcM_GetAppend(param_0);
}
#endif /* F_OP_F_OP_KANKYO_H */
+5
View File
@@ -9,6 +9,7 @@
#include "f_pc/f_pc_node_req.h"
#include "f_pc/f_pc_stdcreate_req.h"
#include "f_pc/f_pc_executor.h"
#include "f_pc/f_pc_leaf.h"
typedef int (*FastCreateReqFunc)(void*);
typedef void (*fpcM_ManagementFunc)(void);
@@ -37,6 +38,10 @@ inline int fpcM_Create(s16 procName, FastCreateReqFunc createFunc, void* process
process);
}
inline s16 fpcM_DrawPriority(const void* param_0) {
return fpcLf_GetPriority((const leafdraw_class*)param_0);
}
inline s32 fpcM_ChangeLayerID(void* proc, int layerID) {
return fpcPi_Change(&((base_process_class*)proc)->mPi, layerID, 0xFFFD, 0xFFFD);
}