Skip to content

Commit

Permalink
Added renamed symbol EventInstance::triggerCue
Browse files Browse the repository at this point in the history
This fixes the vanilla game prologue.
  • Loading branch information
pixelomer committed Sep 4, 2021
1 parent 0145449 commit 29c9851
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fmod/fmod_preload.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ void *dlsym(void *handle, const char *name) {
if (strcmp(name, "FMOD_Studio_System_GetLowLevelSystem") == 0) {
return dlsym_real(handle, "FMOD_Studio_System_GetCoreSystem");
}
else if (strcmp(name, "FMOD_Studio_EventInstance_TriggerCue") == 0) {
return dlsym_real(handle, "FMOD_Studio_EventInstance_KeyOff");
}
else if (strcmp(name, "FMOD_Studio_EventInstance_SetParameterValue") == 0) {
return FMOD_Studio_EventInstance_SetParameterValue;
}
Expand Down

0 comments on commit 29c9851

Please sign in to comment.