summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/f_pc/f_pc_profile.cpp')
-rw-r--r--src/f_pc/f_pc_profile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/f_pc/f_pc_profile.cpp b/src/f_pc/f_pc_profile.cpp
index fb3445b02e..33cc127328 100644
--- a/src/f_pc/f_pc_profile.cpp
+++ b/src/f_pc/f_pc_profile.cpp
@@ -10,5 +10,6 @@ process_profile_definition** g_fpcPf_ProfileList_p;
/* 80023564-80023578 0014+00 s=0 e=1 z=0 None .text fpcPf_Get__Fs */
process_profile_definition* fpcPf_Get(s16 i_profname) {
- return g_fpcPf_ProfileList_p[i_profname];
+ int index = i_profname;
+ return g_fpcPf_ProfileList_p[index];
}