mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 21:34:09 +00:00
Implement PreloadMissionAudio + small fixes
This commit is contained in:
parent
cce3aac4c3
commit
a2e59564c8
5 changed files with 133 additions and 50 deletions
|
@ -18,7 +18,7 @@
|
|||
#pragma comment( lib, "mss32.lib" )
|
||||
|
||||
cSampleManager &SampleManager = *(cSampleManager *)0x7341E0;
|
||||
int32 (&BankStartOffset)[MAX_SAMPLEBANKS] = *(int32 (*)[MAX_SAMPLEBANKS])*(int *)0x6FAB70;
|
||||
extern int32 (&BankStartOffset)[MAX_SAMPLEBANKS] = *(int32 (*)[MAX_SAMPLEBANKS])*(int *)0x6FAB70;
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -2327,4 +2327,4 @@ STARTPATCHES
|
|||
InjectHook(0x568290, &cSampleManager::IsStreamPlaying, PATCH_JUMP);
|
||||
InjectHook(0x5682D0, &cSampleManager::InitialiseSampleBanks, PATCH_JUMP);
|
||||
//InjectHook(0x5683F0, `global constructor keyed to'sampman.cpp, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
ENDPATCHES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue