summaryrefslogtreecommitdiff
path: root/include/f_pc
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-12-29 14:52:19 -0800
committerGitHub <noreply@github.com>2022-12-29 14:52:19 -0800
commitfddeb5f5b5def4d217e00a8c1836250b1dc14db8 (patch)
tree7125ddd31e48283d98a0e59d38c70fe6fd07b149 /include/f_pc
parent0b97dfb6e59f859f14cab2df44baddce64dd293d (diff)
parent5bf08be0fa50a5ab8e97de3b7a9ee8cb59209b9e (diff)
Merge pull request #226 from Pheenoh/f_op_kankyo
f_op_kankyo 4/5 matched
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);
}