diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-12 21:14:13 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-12 21:14:13 -0400 |
| commit | 2def735282a0584a5a2b3ed007bd99ddfb72b394 (patch) | |
| tree | 0aed235b7e874a33aa9d1b1a1cba67bc67f4077e /src/f_pc/f_pc_executor.cpp | |
| parent | 61d9f474a53cc8a02490e8cdb1b4f86bb4d1af95 (diff) | |
Add fpc_ProcID type and use it for all process IDs
See https://github.com/zeldaret/tp/pull/2173
Diffstat (limited to 'src/f_pc/f_pc_executor.cpp')
| -rw-r--r-- | src/f_pc/f_pc_executor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/f_pc/f_pc_executor.cpp b/src/f_pc/f_pc_executor.cpp index a295e42e..740159f0 100644 --- a/src/f_pc/f_pc_executor.cpp +++ b/src/f_pc/f_pc_executor.cpp @@ -14,7 +14,7 @@ base_process_class* fpcEx_Search(fpcLyIt_JudgeFunc i_judgeFunc, void* i_data) { } /* 8003D5D0-8003D614 .text fpcEx_SearchByID__FUi */ -base_process_class* fpcEx_SearchByID(uint i_id) { +base_process_class* fpcEx_SearchByID(fpc_ProcID i_id) { if (i_id + 2 <= 1) return NULL; @@ -22,7 +22,7 @@ base_process_class* fpcEx_SearchByID(uint i_id) { } /* 8003D614-8003D63C .text fpcEx_IsExist__FUi */ -BOOL fpcEx_IsExist(uint i_id) { +BOOL fpcEx_IsExist(fpc_ProcID i_id) { return fpcEx_SearchByID(i_id) != NULL ? TRUE : FALSE; } |
