Added the DirectSoundDoWork fnction (4361-4627)

This commit is contained in:
jarupxx 2017-02-02 20:09:33 +09:00
parent 62c226e40f
commit 7b0e3ab9f0
3 changed files with 24 additions and 10 deletions

View File

@ -57,6 +57,20 @@ OOVPA_NO_XREF(DirectSoundCreate, 4361, 9)
{ 0x43, 0xC9 }, // (Offset,Value)-Pair #9
OOVPA_END;
// ******************************************************************
// * DirectSoundDoWork
// ******************************************************************
OOVPA_NO_XREF(DirectSoundDoWork, 4361, 7)
{ 0x06, 0x0F },
{ 0x0E, 0x85 },
{ 0x10, 0x74 },
{ 0x18, 0x85 },
{ 0x1C, 0x0B },
{ 0x22, 0xFF },
{ 0x28, 0xC3 },
OOVPA_END;
// ******************************************************************
// * IDirectSound8_CreateSoundBuffer
// ******************************************************************
@ -976,6 +990,8 @@ OOVPATable DSound_4361[] = {
// DirectSoundCreate
OOVPA_TABLE_ENTRY(DirectSoundCreate, 4361),
// DirectSoundDoWork
OOVPA_TABLE_ENTRY(DirectSoundDoWork, 4361),
// CDirectSound_CreateSoundStream
OOVPA_TABLE_XREF(CDirectSound_CreateSoundStream, 4361),
// IDirectSound8_CreateStream

View File

@ -32,6 +32,11 @@
// *
// ******************************************************************
// ******************************************************************
// * DirectSoundDoWork
// ******************************************************************
#define DirectSoundDoWork_4432 DirectSoundDoWork_4361
// ******************************************************************
// * IDirectSound8_Release
// ******************************************************************
@ -574,6 +579,8 @@ OOVPATable DSound_4432[] = {
// DirectSoundCreate (* unchanged since 4361 *)
OOVPA_TABLE_ENTRY(DirectSoundCreate, 4361),
// DirectSoundDoWork
OOVPA_TABLE_ENTRY(DirectSoundDoWork, 4432),
// IDirectSound8_CreateStream
OOVPA_TABLE_ENTRY(IDirectSound8_CreateStream, 3936),
// CDirectSound_CreateSoundStream (* unchanged since 4361 *)

View File

@ -35,16 +35,7 @@
// ******************************************************************
// * DirectSoundDoWork
// ******************************************************************
OOVPA_NO_XREF(DirectSoundDoWork, 4627, 7)
{ 0x06, 0x0F },
{ 0x0E, 0x85 },
{ 0x10, 0x74 },
{ 0x18, 0x85 },
{ 0x1C, 0x0B },
{ 0x22, 0xFF },
{ 0x28, 0xC3 },
OOVPA_END;
#define DirectSoundDoWork_4627 DirectSoundDoWork_4361
// ******************************************************************
// * CDirectSound::CreateSoundBuffer