mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-31 17:01:36 -04:00
dfa8efa97b
* 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
21 lines
421 B
C++
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;
|
|
}
|