Files
dusklight/src/f_pc/f_pc_searcher.cpp
T
TakaRikka dfa8efa97b project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07:00

21 lines
421 B
C++

/**
* f_pc_searcher.cpp
* Framework - Process Searcher
*/
#include "f_pc/f_pc_searcher.h"
void* fpcSch_JudgeForPName(void* i_proc, void* i_data) {
if (((base_process_class*)i_proc)->name == *(s16*)i_data)
return i_proc;
return NULL;
}
void* fpcSch_JudgeByID(void* i_proc, void* i_data) {
if (((base_process_class*)i_proc)->id == *(fpc_ProcID*)i_data)
return i_proc;
return NULL;
}