diff options
| author | lepelog <lepelog@users.noreply.github.com> | 2021-04-01 12:06:29 +0200 |
|---|---|---|
| committer | lepelog <lepelog@users.noreply.github.com> | 2021-04-01 12:06:29 +0200 |
| commit | 53c6aa6c8b50d95e89f64db70d0cc08fb4111a93 (patch) | |
| tree | 20ce5067caef7892c2c9bb043b10918c15dd7868 /src/f_pc/f_pc_profile.cpp | |
| parent | 87bc0e711b4fb2f990f3c37ca681be1fc027d554 (diff) | |
ported over f_pc
Diffstat (limited to 'src/f_pc/f_pc_profile.cpp')
| -rw-r--r-- | src/f_pc/f_pc_profile.cpp | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/src/f_pc/f_pc_profile.cpp b/src/f_pc/f_pc_profile.cpp index 48a463e1db..6f4ecd45fa 100644 --- a/src/f_pc/f_pc_profile.cpp +++ b/src/f_pc/f_pc_profile.cpp @@ -7,33 +7,11 @@ #include "dol2asm.h" #include "dolphin/types.h" -// -// Forward References: -// - -void fpcPf_Get(s16); - -extern "C" void fpcPf_Get__Fs(); -extern "C" extern u8 g_fpcPf_ProfileList_p[4 + 4 /* padding */]; - -// -// External References: -// - -// -// Declarations: -// - /* ############################################################################################## */ /* 80450D50-80450D58 0004+04 s=1 e=0 z=2 None .sbss g_fpcPf_ProfileList_p */ -u8 g_fpcPf_ProfileList_p[4 + 4 /* padding */]; +process_profile_definition** g_fpcPf_ProfileList_p; /* 80023564-80023578 0014+00 s=0 e=1 z=0 None .text fpcPf_Get__Fs */ -#pragma push -#pragma optimization_level 0 -#pragma optimizewithasm off -asm void fpcPf_Get(s16 param_0) { - nofralloc -#include "asm/f_pc/f_pc_profile/fpcPf_Get__Fs.s" +process_profile_definition* fpcPf_Get(s16 profileID) { + return g_fpcPf_ProfileList_p[profileID]; } -#pragma pop |
