summaryrefslogtreecommitdiff
path: root/include/f_pc
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2023-02-17 07:26:11 -0700
committerGitHub <noreply@github.com>2023-02-17 07:26:11 -0700
commit7fdd4539963655803b0bfdbee2614afa54f40a79 (patch)
tree8972bcd952fc251ffe1fe93e4bcf9f13f1431a95 /include/f_pc
parent52d84413bb0186d773d9f14b926bdab4eb6caf38 (diff)
d_a_e_ym_tag OK, d_a_tag_theB_hint OK (#289)
Diffstat (limited to 'include/f_pc')
-rw-r--r--include/f_pc/f_pc_searcher.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/f_pc/f_pc_searcher.h b/include/f_pc/f_pc_searcher.h
index 401dda6420..8445ae8b98 100644
--- a/include/f_pc/f_pc_searcher.h
+++ b/include/f_pc/f_pc_searcher.h
@@ -4,6 +4,7 @@
#include "dolphin/types.h"
#include "f_pc/f_pc_base.h"
+#include "f_pc/f_pc_layer_iter.h"
void* fpcSch_JudgeForPName(void* pProc, void* pUserData);
void* fpcSch_JudgeByID(void* pProc, void* pUserData);
@@ -12,4 +13,8 @@ extern "C" {
void fpcSch_JudgeForPName__FPvPv(void);
}
+inline base_process_class* i_fpcM_SearchByName(s16 name) {
+ return (base_process_class*)fpcLyIt_AllJudge(fpcSch_JudgeForPName, &name);
+}
+
#endif