Enable XREF_D3DDEVICE_SETLIGHT xref

This commit is contained in:
jarupxx 2017-10-29 13:25:23 +09:00
parent fa81884b87
commit 751725387c
4 changed files with 17 additions and 10 deletions

View File

@ -93,6 +93,7 @@ enum XRefDataBaseOffset
XREF_D3DRS_ROPZREAD,
XREF_D3DRS_DONOTCULLUNCOMPRESSED,
XREF_D3DRS_STENCILCULLENABLE,
XREF_D3DDevice_SetLight,
XREF_D3DDevice_LazySetStateVB,
XREF_D3D_BlockOnResource,
XREF_D3D_BlockOnTime,

View File

@ -397,13 +397,13 @@ OOVPA_END;
// ******************************************************************
// * D3DDevice_LightEnable
// ******************************************************************
OOVPA_XREF(D3DDevice_LightEnable, 3911, 1+24,// valid upto at least 4627, next known difference is from 5344 onwards
OOVPA_XREF(D3DDevice_LightEnable, 3911, 2+24,// valid upto at least 4627, next known difference is from 5344 onwards
XRefNoSaveIndex,
XRefOne)
XRefTwo)
XREF_ENTRY(0x0B, XREF_D3DDEVICE),
//XREF_ENTRY(0x67, XREF_D3DDEVICE_SETLIGHT),
XREF_ENTRY(0x67, XREF_D3DDevice_SetLight),
{ 0x00, 0x83 },
{ 0x01, 0xEC },
@ -3677,7 +3677,10 @@ OOVPA_END;
// ******************************************************************
// * D3DDevice_SetLight
// ******************************************************************
OOVPA_NO_XREF(D3DDevice_SetLight, 3911, 15)
OOVPA_XREF(D3DDevice_SetLight, 3911, 15,
XREF_D3DDevice_SetLight,
XRefZero)
{ 0x15, 0x00 },
{ 0x16, 0x00 },

View File

@ -3133,13 +3133,13 @@ OOVPA_END;
// ******************************************************************
// * D3DDevice_LightEnable
// ******************************************************************
OOVPA_XREF(D3DDevice_LightEnable, 3911, 1+24,// valid upto at least 4627, next known difference is from 5028 onwards
OOVPA_XREF(D3DDevice_LightEnable, 3911, 2+24,// valid upto at least 4627, next known difference is from 5028 onwards
XRefNoSaveIndex,
XRefOne)
XREF_ENTRY(0x0B, XREF_D3DDEVICE),
//XREF_ENTRY(0x67, XREF_D3DDEVICE_SETLIGHT),
XREF_ENTRY(0x67, XREF_D3DDevice_SetLight),
{ 0x00, 0x83 },
{ 0x01, 0xEC },

View File

@ -131,7 +131,10 @@ OOVPA_END;
// ******************************************************************
// * D3DDevice_SetLight
// ******************************************************************
OOVPA_NO_XREF(D3DDevice_SetLight, 5344, 15)
OOVPA_XREF(D3DDevice_SetLight, 5344, 15,
XREF_D3DDevice_SetLight,
XRefZero)
// D3DDevice_SetLight+0x1f : add REG, 0x10
{ 0x1F, 0x83 },
@ -274,13 +277,13 @@ OOVPA_END;
// ******************************************************************
// * D3DDevice_LightEnable
// ******************************************************************
OOVPA_XREF(D3DDevice_LightEnable, 5344, 1+24,
OOVPA_XREF(D3DDevice_LightEnable, 5344, 2+24,
XRefNoSaveIndex,
XRefOne)
XRefTwo)
XREF_ENTRY(0x0B, XREF_D3DDEVICE),
//XREF_ENTRY(0x67, XREF_D3DDEVICE_SETLIGHT),
XREF_ENTRY(0x67, XREF_D3DDevice_SetLight),
{ 0x00, 0x83 },
{ 0x01, 0xEC },