Looks like this pattern was incorrect,

Verified with XbeExplorer
This commit is contained in:
Luke Usher 2017-02-11 12:59:36 +00:00
parent 710507468c
commit 25623c8e99
1 changed files with 31 additions and 12 deletions

View File

@ -758,21 +758,34 @@ OOVPA_END;
// ******************************************************************
// * DirectSound::CDirectSound::SetRolloffFactor
// Xbe Explorer generated pattern, derived from address $00439F47 in "SpiderMan 2" :
// 56E8........833DD4........0FB6F0741685F6740B68E03B4400FF15...... 00 0000 005F ? SetRolloffFactor@CDirectSound@DirectSound@@QAGJMK@Z ^ 0002R ? DirectSoundEnterCriticalSection@@YGHXZ ^0009D _g_fDirectSoundInFinalRelease ^ 001DD __imp__RtlLeaveCriticalSection@4 ^ 0046R ? CommitDeferredSettings@CDirectSound@DirectSound@@QAGJXZ ^ 0055D __imp__RtlLeaveCriticalSection@4
// ******************************************************************
OOVPA_XREF(DirectSound_CDirectSound_SetRolloffFactor, 5849, 9,
OOVPA_XREF(DirectSound_CDirectSound_SetRolloffFactor, 5849, 22,
XREF_SETROLLOFFFACTORA,
XRefZero)
{ 0x0C, 0x00 },
{ 0x16, 0x68 },
{ 0x22, 0x05 },
{ 0x2E, 0x08 },
{ 0x35, 0x6C },
{ 0x3A, 0x48 },
{ 0x4A, 0x85 },
{ 0x53, 0xFF },
{ 0x5E, 0x00 },
{ 0x00, 0x56 },
{ 0x01, 0xE8 },
{ 0x06, 0x83 },
{ 0x07, 0x3D },
{ 0x08, 0xD4 },
{ 0x0D, 0x0F },
{ 0x0E, 0xB6 },
{ 0x0F, 0xF0 },
{ 0x10, 0x74 },
{ 0x11, 0x16 },
{ 0x12, 0x85 },
{ 0x13, 0xF6 },
{ 0x14, 0x74 },
{ 0x15, 0x0B },
{ 0x16, 0x68 },
{ 0x17, 0xE0 },
{ 0x18, 0x3B },
{ 0x19, 0x44 },
{ 0x1A, 0x00 },
{ 0x1B, 0xFF },
{ 0x1C, 0x15 },
{ 0x5C, 0xC2 },
OOVPA_END;
// ******************************************************************
@ -1674,6 +1687,7 @@ OOVPATable DSound_5849[] = {
REGISTER_OOVPA(IDirectSoundBuffer8_StopEx, 5849, ALIAS, DirectSound_CDirectSoundBuffer_StopEx),
REGISTER_OOVPA(DirectSound_CDirectSound_SetRolloffFactor, 5849, XREF),
REGISTER_OOVPA(IDirectSound8_SetRolloffFactor, 4627, PATCH),
REGISTER_OOVPA(DirectSound_CDirectSound_SetRolloffFactor, 5344, XREF),
REGISTER_OOVPA(DirectSound_CDirectSound_SetDopplerFactor, 5849, XREF),
REGISTER_OOVPA(IDirectSound8_SetDopplerFactor, 4627, PATCH),
REGISTER_OOVPA(DirectSound_CDirectSoundVoice_SetPitch, 5849, XREF),
@ -1717,6 +1731,11 @@ OOVPATable DSound_5849[] = {
REGISTER_OOVPA(DirectSound_CMcpxBuffer_Play2, 5849, XREF),
REGISTER_OOVPA(DirectSound_CDirectSoundBuffer_Play, 5849, XREF),
REGISTER_OOVPA(IDirectSoundBuffer8_Play, 5849, ALIAS, IDirectSoundBuffer_Play),
REGISTER_OOVPA(DirectSound_CMcpxVoiceClient_SetEG, 4627, XREF),
REGISTER_OOVPA(DirectSound_CDirectSoundVoice_SetEG, 4627, XREF),
REGISTER_OOVPA(CDirectSoundStream_SetEG, 4627, ALIAS, DirectSound_CDirectSoundStream_SetEG),
REGISTER_OOVPA(DirectSound_CDirectSoundBuffer_SetEG, 4627, XREF),
REGISTER_OOVPA(IDirectSoundBuffer8_SetEG, 4627, ALIAS, IDirectSoundBuffer_SetEG),
};
// ******************************************************************