mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
III: Fix pattern for IsAudioInitialised failing with a Steam version
This commit is contained in:
parent
a9903ac922
commit
ad842130d3
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ namespace Localization
|
|||
// ============= Call cDMAudio::IsAudioInitialised before adding one shot sounds, like in VC =============
|
||||
namespace AudioInitializedFix
|
||||
{
|
||||
auto IsAudioInitialised = (bool(*)())Memory::ReadCallFrom( hook::get_pattern( "E8 ? ? ? ? 84 C0 74 6C 0F B7 47 10" ) );
|
||||
auto IsAudioInitialised = static_cast<bool(*)()>(Memory::ReadCallFrom( hook::get_pattern( "E8 ? ? ? ? 84 C0 74 ? 0F B7 47 10" ) ));
|
||||
void* (*operatorNew)(size_t size);
|
||||
|
||||
void* operatorNew_InitializedCheck( size_t size )
|
||||
|
|
Loading…
Reference in a new issue