diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2019-07-05 21:15:32 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2019-07-07 17:48:32 +0200 |
commit | d6944ec570d10f23867a925e5438192b314eb936 (patch) | |
tree | 3945beafd65493024405e50a5729a10a57aba755 /src/audio/SampleManager.cpp | |
parent | cleanup AudioManager (diff) | |
download | re3-d6944ec570d10f23867a925e5438192b314eb936.tar re3-d6944ec570d10f23867a925e5438192b314eb936.tar.gz re3-d6944ec570d10f23867a925e5438192b314eb936.tar.bz2 re3-d6944ec570d10f23867a925e5438192b314eb936.tar.lz re3-d6944ec570d10f23867a925e5438192b314eb936.tar.xz re3-d6944ec570d10f23867a925e5438192b314eb936.tar.zst re3-d6944ec570d10f23867a925e5438192b314eb936.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/SampleManager.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/audio/SampleManager.cpp b/src/audio/SampleManager.cpp index 7af3446b..fbeb49ed 100644 --- a/src/audio/SampleManager.cpp +++ b/src/audio/SampleManager.cpp @@ -12,6 +12,33 @@ bool CSampleManager::IsMP3RadioChannelAvailable() { return nNumOfMp3Files != 0; } +WRAPPER +bool CSampleManager::IsSampleBankLoaded(uint8) { EAXJMP(0x567130); } + +WRAPPER +void CSampleManager::UnloadSampleBank(uint8) { EAXJMP(0x567110); } + +WRAPPER +void +CSampleManager::Terminate() +{ + EAXJMP(0x566DC0); +} + +WRAPPER +bool +CSampleManager::Initialise() +{ + EAXJMP(0x566530); +} + +WRAPPER +int32 +CSampleManager::GetActiveSamples() +{ + EAXJMP(0x565970); +} + WRAPPER void CSampleManager::ReleaseDigitalHandle() { @@ -87,6 +114,7 @@ CSampleManager::StopChannel(int32 id) { EAXJMP(0x567BE0); } + STARTPATCHES InjectHook(0x566490, CSampleManager::IsMP3RadioChannelAvailable, PATCH_JUMP); ENDPATCHES
\ No newline at end of file |