mirror of
https://github.com/zeldaret/tp
synced 2026-06-21 16:37:02 -04:00
run clang-format
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
#include "SComponent/c_phase.h"
|
||||
#include "f/f_pc/f_pc_load.h"
|
||||
#include "SComponent/c_phase.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
@@ -8,25 +8,21 @@ extern int cDyl_IsLinked(short procName);
|
||||
extern int cDyl_Unlink(short procName);
|
||||
extern int cDyl_LinkASync(short procName);
|
||||
|
||||
bool fpcLd_Use(u16 procName)
|
||||
{
|
||||
bool fpcLd_Use(u16 procName) {
|
||||
if (fpcLd_IsLoaded(procName) == true && fpcLd_Load(procName) == cPhs_COMPLEATE_e)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
int fpcLd_IsLoaded(u16 procName)
|
||||
{
|
||||
int fpcLd_IsLoaded(u16 procName) {
|
||||
return cDyl_IsLinked(procName);
|
||||
}
|
||||
|
||||
void fpcLd_Free(u16 procName)
|
||||
{
|
||||
void fpcLd_Free(u16 procName) {
|
||||
cDyl_Unlink(procName);
|
||||
}
|
||||
|
||||
int fpcLd_Load(u16 procName)
|
||||
{
|
||||
int fpcLd_Load(u16 procName) {
|
||||
int phase = cDyl_LinkASync(procName);
|
||||
|
||||
switch (phase) {
|
||||
@@ -38,5 +34,4 @@ int fpcLd_Load(u16 procName)
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user