Open SpectralPlatypus opened 10 months ago
If I understand correctly, it would work if you define FMOD_System_Create(void **system, int version)
, and pass version
to the original function orig::FMOD_System_Create(system, version)
?
Yeah, that should work.
Return to Monkey Island (Linux release) seems to fail during startup due to a clobbered parameter in![image](https://github.com/clementgallet/libTAS/assets/50896763/ea1481ce-8116-415d-84e5-b00b6e96462a)
FMOD_System_Create
function (see +7 and +18):This results in the following error, presumably due to the hook in fmod.h omitting the second paramter for this function:
(20) There is a version mismatch between the FMOD header and either the FMOD Studio library or the FMOD Low Level library.
Notes: The game was launched with --nosteam argument during testing