mirror of
https://github.com/zeldaret/tp
synced 2026-06-02 10:10:35 -04:00
fopKy_Create attempt
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user