summaryrefslogtreecommitdiff
path: root/include/f_pc
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2022-12-27 22:43:29 -0700
committerPheenoh <pheenoh@gmail.com>2022-12-27 22:43:29 -0700
commit791399ac6cfaf2e6bfb362cd0e29a6271eb8bbf6 (patch)
treeb800c13667eb2ecda20446f4b08d34cddbacdbc8 /include/f_pc
parent9b5bc55f2a958e46e1ce5d108ff82694524f1f88 (diff)
fopKy_Create attempt
Diffstat (limited to 'include/f_pc')
-rw-r--r--include/f_pc/f_pc_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/f_pc/f_pc_manager.h b/include/f_pc/f_pc_manager.h
index 84d376093e..cebe63b454 100644
--- a/include/f_pc/f_pc_manager.h
+++ b/include/f_pc/f_pc_manager.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);
}