Removed a hack added to D3D8 HLE Database
This commit is contained in:
parent
a550f89a8b
commit
8c7a5dd9dc
|
@ -187,6 +187,7 @@ bool IsValidXboxDisplayMode(XTL::D3DDISPLAYMODE PCDisplayMode, int PCModeNr)
|
|||
for (int i = 0; i < XboxResolutions.size(); i++) {
|
||||
if (XboxResolutions[i].W == PCDisplayMode.Width && XboxResolutions[i].H == PCDisplayMode.Height) {
|
||||
XboxResolutions[i].PCMode = PCModeNr;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -5919,24 +5920,10 @@ HRESULT WINAPI XTL::EmuIDirect3DTexture8_LockRect
|
|||
if(!(Flags & 0x80) && !(Flags & 0x40) && !(Flags & 0x20) && !(Flags & 0x10) && Flags != 0)
|
||||
CxbxKrnlCleanup("EmuIDirect3DTexture8_LockRect: Unknown Flags! (0x%.08X)", Flags);
|
||||
|
||||
// Remove old lock(s)
|
||||
if(Level == 6 || Level == 7 || Level == 8 || Level == 9)
|
||||
{
|
||||
// HACK: Unreal Championship crashes when the texture level reaches 9...
|
||||
EmuWarning("Unreal Championship texture hack applied!");
|
||||
hRet = D3DERR_INVALIDCALL;
|
||||
}
|
||||
else
|
||||
{
|
||||
pTexture8->UnlockRect(Level);
|
||||
|
||||
hRet = pTexture8->LockRect(Level, pLockedRect, pRect, NewFlags);
|
||||
|
||||
pThis->Common |= X_D3DCOMMON_ISLOCKED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pTexture8->UnlockRect(Level);
|
||||
hRet = pTexture8->LockRect(Level, pLockedRect, pRect, NewFlags);
|
||||
pThis->Common |= X_D3DCOMMON_ISLOCKED;
|
||||
}
|
||||
|
||||
return hRet;
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ EmuNtObject* EmuNtObject::NtDuplicateObject(DWORD Options)
|
|||
|
||||
bool IsEmuHandle(HANDLE Handle)
|
||||
{
|
||||
return ((uint32)Handle > 0x80000000) && ((int32)Handle < 0xFFFFFFFE);
|
||||
return ((uint32)Handle > 0x80000000) && ((uint32)Handle < 0xFFFFFFFE);
|
||||
}
|
||||
|
||||
EmuHandle* HandleToEmuHandle(HANDLE Handle)
{
return (EmuHandle*)((uint32_t)Handle & 0x7FFFFFFF);
}
HANDLE EmuHandleToHandle(EmuHandle* emuHandle)
|
||||
|
|
|
@ -1531,6 +1531,26 @@ OOVPATable D3D8_1_0_4034[] =
|
|||
"EmuIDirect3DDevice8_Clear"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::Register
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_Register_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DResource8_Register,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DResource8_Register"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::CreatePalette
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_CreatePalette_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_CreatePalette,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_CreatePalette"
|
||||
#endif
|
||||
},
|
||||
|
||||
// ********************** BEG WARNING UNTESTED!!! *******************
|
||||
|
||||
|
@ -1755,16 +1775,6 @@ OOVPATable D3D8_1_0_4034[] =
|
|||
"EmuIDirect3DDevice8_Clear"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::CreatePalette
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_CreatePalette_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_CreatePalette,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_CreatePalette"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetPalette
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetPalette_1_0_3925,
|
||||
|
@ -1965,16 +1975,6 @@ OOVPATable D3D8_1_0_4034[] =
|
|||
"EmuIDirect3DVertexBuffer8_Lock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::Register
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_Register_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DResource8_Register,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DResource8_Register"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::IsBusy
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_IsBusy_1_0_3925,
|
||||
|
@ -2359,6 +2359,16 @@ OOVPATable D3D8_1_0_4034[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_LoadVertexShader"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetVisibilityTestResult (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetVisibilityTestResult_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetVisibilityTestResult,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetVisibilityTestResult"
|
||||
#endif
|
||||
},
|
||||
// D3DDevice_DeleteVertexShader (* unchanged since 3925 *)
|
||||
{
|
||||
|
|
|
@ -2498,6 +2498,16 @@ OOVPATable D3D8_1_0_4134[] =
|
|||
"EmuIDirect3DDevice8_LoadVertexShader"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::LoadVertexShader (* unchanged since 4034 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_LoadVertexShader_1_0_4034,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_LoadVertexShader,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_LoadVertexShader"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SelectVertexShader
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SelectVertexShader_1_0_3925,
|
||||
|
@ -3061,6 +3071,16 @@ OOVPATable D3D8_1_0_4134[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DSurface8_LockRect"
|
||||
#endif
|
||||
},
|
||||
// D3DDevice_DeleteVertexShader (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&X_D3DDevice_DeleteVertexShader_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_DeleteVertexShader,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_DeleteVertexShader"
|
||||
#endif
|
||||
},
|
||||
// Lock2DSurface (* unchanged since 3925 *)
|
||||
{
|
||||
|
@ -3809,6 +3829,26 @@ OOVPATable D3D8_1_0_4134[] =
|
|||
"EmuIDirect3DDevice8_SetShaderConstantMode"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetCreationParameters (* unchanged since 4034 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetCreationParameters_1_0_4034,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetCreationParameters,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetCreationParameters"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetVisibilityTestResult (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetVisibilityTestResult_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetVisibilityTestResult,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetVisibilityTestResult"
|
||||
#endif
|
||||
},
|
||||
};
|
||||
|
||||
// ******************************************************************
|
||||
|
|
|
@ -3165,6 +3165,16 @@ OOVPATable D3D8_1_0_4361[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DResource8_AddRef"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::Release
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_Release_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DResource8_Release,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DResource8_Release"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DPalette8::Lock (* unchanged since 3925 *)
|
||||
{
|
||||
|
@ -3524,6 +3534,16 @@ OOVPATable D3D8_1_0_4361[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetCreationParameters"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetVisibilityTestResult (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetVisibilityTestResult_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetVisibilityTestResult,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetVisibilityTestResult"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetShaderConstantMode
|
||||
{
|
||||
|
@ -3718,7 +3738,7 @@ OOVPATable D3D8_1_0_4361[] =
|
|||
XTL::EmuIDirect3DDevice8_GetPushBufferOffset,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetPushBufferOffset"
|
||||
"EmuIDirect3DDevice8_GetPushBufferOffset"3
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::CreateCubeTexture
|
||||
|
|
|
@ -942,6 +942,16 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
"EmuIDirect3D8_GetAdapterModeCount"
|
||||
#endif
|
||||
},
|
||||
// IDirect3D8::CheckDeviceFormat (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3D8_CheckDeviceFormat_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3D8_CheckDeviceFormat,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3D8_CheckDeviceFormat"
|
||||
#endif
|
||||
},
|
||||
// IDirect3D8::EnumAdapterModes (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3D8_EnumAdapterModes_1_0_4361,
|
||||
|
@ -1202,6 +1212,36 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
"EmuIDirect3DDevice8_SetRenderState_ZBias"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetCreationParameters (* unchanged since 4034 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetCreationParameters_1_0_4034,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetCreationParameters,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetCreationParameters"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetVisibilityTestResult (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetVisibilityTestResult_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetVisibilityTestResult,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetVisibilityTestResult"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetTextureState_BumpEnv (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetTextureState_BumpEnv_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SetTextureState_BumpEnv,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetTextureState_BumpEnv"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_EdgeAntiAlias (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetRenderState_EdgeAntiAlias_1_0_4361,
|
||||
|
@ -1392,6 +1432,16 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
"EmuIDirect3DDevice8_SetRenderState_ShadowFunc"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SwitchTexture (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SwitchTexture_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SwitchTexture,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SwitchTexture"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_YuvEnable (* unchanged since 4134 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetRenderState_YuvEnable_1_0_4134,
|
||||
|
@ -1582,6 +1632,16 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
"EmuIDirect3DResource8_Register"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::AddRef (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_AddRef_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DResource8_AddRef,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DResource8_AddRef"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::Release (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_Release_1_0_3925,
|
||||
|
@ -1631,16 +1691,6 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DSurface8_LockRect"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DTexture8::LockRect (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DTexture8_LockRect_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DTexture8_LockRect,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DTexture8_LockRect"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8_Release
|
||||
{
|
||||
|
@ -1940,7 +1990,7 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
"EmuIDirect3DDevice8_SetVertexData4f"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetVertexData4ub (* unchanged since 4361 *)
|
||||
// IDirect3DDevice8::SetVertexData4ub (* un`anged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&D3DDevice_SetVertexData4ub_1_0_4361,
|
||||
|
||||
|
@ -1969,6 +2019,26 @@ OOVPATable D3D8_1_0_4432[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"D3DDevice_GetVertexShaderSize"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::BeginStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_BeginStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_BeginStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_BeginStateBlock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_EndStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_EndStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_EndStateBlock"
|
||||
#endif
|
||||
},
|
||||
// Lock2DSurface (* unchanged since 3925 *)
|
||||
{
|
||||
|
|
|
@ -4310,6 +4310,16 @@ OOVPATable D3D8_1_0_4627[] =
|
|||
"EmuIDirect3DDevice8_BeginVisibilityTest"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::GetCreationParameters (* unchanged since 4034 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetCreationParameters_1_0_4034,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetCreationParameters,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetCreationParameters"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndVisibilityTest
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_EndVisibilityTest_1_0_4627,
|
||||
|
@ -5036,6 +5046,16 @@ OOVPATable D3D8_1_0_4627[] =
|
|||
"EmuIDirect3DDevice8_SetRenderState_FillMode"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_BackFillMode (* unchanged since 4134 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetRenderState_BackFillMode_1_0_4134,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SetRenderState_BackFillMode,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetRenderState_BackFillMode"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_FogColor (* unchanged since 4134 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetRenderState_FogColor_1_0_4134,
|
||||
|
@ -5156,6 +5176,16 @@ OOVPATable D3D8_1_0_4627[] =
|
|||
"EmuIDirect3DDevice8_SetRenderState_ShadowFunc"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SwitchTexture (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SwitchTexture_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SwitchTexture,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SwitchTexture"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_YuvEnable (* unchanged since 4134 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetRenderState_YuvEnable_1_0_4134,
|
||||
|
@ -5626,6 +5656,26 @@ OOVPATable D3D8_1_0_4627[] =
|
|||
"EmuIDirect3DDevice8_GetVertexShaderSize"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::BeginStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_BeginStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_BeginStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_BeginStateBlock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_EndStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_EndStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_EndStateBlock"
|
||||
#endif
|
||||
},
|
||||
// D3DDevice_GetVertexShaderType
|
||||
{
|
||||
(OOVPA*)&X_D3DDevice_GetVertexShaderType_1_0_4627,
|
||||
|
@ -6121,6 +6171,16 @@ OOVPATable D3D8_1_0_4627[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetVertexData4ub"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetVertexData4f
|
||||
{
|
||||
(OOVPA*)&D3DDevice_SetVertexData4f_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SetVertexData4f,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetVertexData4f"
|
||||
#endif
|
||||
},
|
||||
// D3D_BlockOnTime
|
||||
{
|
||||
|
|
|
@ -2226,6 +2226,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DDevice8_SetGammaRamp"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8_GetDeviceCaps (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_GetDeviceCaps_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetDeviceCaps,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_GetDeviceCaps"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetShaderConstantMode
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetShaderConstantMode_1_0_5233,
|
||||
|
@ -2324,6 +2334,46 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DDevice8_CreateVertexShader"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::BeginStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_BeginStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_BeginStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_BeginStateBlock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_EndStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_EndStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_EndStateBlock"
|
||||
#endif
|
||||
},
|
||||
// D3DDevice_RunVertexStateShader (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&X_D3DDevice_RunVertexStateShader_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_RunVertexStateShader,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"D3DDevice_RunVertexStateShader"
|
||||
#endif
|
||||
},
|
||||
// D3DDevice_GetVertexShaderSize (* unchanged since 3925 *)
|
||||
{
|
||||
(OOVPA*)&X_D3DDevice_GetVertexShaderSize_1_0_3925,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_GetVertexShaderSize,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"D3DDevice_GetVertexShaderSize"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetVertexShaderConstant1 (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetVertexShaderConstant1_1_0_4627,
|
||||
|
@ -2454,6 +2504,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DDevice8_GetDisplayMode"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetVertexData2f (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetVertexData2f_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SetVertexData2f,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetVertexData2f"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::Begin
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_Begin_1_0_5233,
|
||||
|
@ -2842,6 +2902,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DDevice8_SetRenderState_ShadowFunc"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SwitchTexture (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SwitchTexture_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SwitchTexture,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SwitchTexture"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_YuvEnable (* unchanged since 4134 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetRenderState_YuvEnable_1_0_4134,
|
||||
|
@ -3422,6 +3492,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DDevice8_BeginPush"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::BeginVisibilityTest (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_BeginVisibilityTest_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_BeginVisibilityTest,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_BeginVisibilityTest"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndPush
|
||||
{
|
||||
(OOVPA*)&D3DDevice_EndPush_1_0_5344,
|
||||
|
@ -3432,6 +3512,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DDevice8_EndPush"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndPush (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_EndPush_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_EndPush,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_EndPush"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetVerticalBlankCallback
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetVerticalBlankCallback_1_0_5233,
|
||||
|
@ -3482,6 +3572,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3D8_EnumAdapterModes"
|
||||
#endif
|
||||
},
|
||||
// IDirect3D8::EnumAdapterModes (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3D8_EnumAdapterModes_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3D8_EnumAdapterModes,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3D8_EnumAdapterModes"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetVertexData4ub (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&D3DDevice_SetVertexData4ub_1_0_4361,
|
||||
|
@ -3606,6 +3706,16 @@ OOVPATable D3D8_1_0_5233[] =
|
|||
"EmuIDirect3DCubeTexture8_GetCubeMapSurface2"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::ApplyStateBlock (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&D3DDevice_ApplyStateBlock_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_ApplyStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_ApplyStateBlock"
|
||||
#endif
|
||||
},
|
||||
};
|
||||
|
||||
// ******************************************************************
|
||||
|
|
|
@ -2216,6 +2216,26 @@ OOVPATable D3D8_1_0_5558[] =
|
|||
"D3DDevice_GetVertexShaderSize"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::BeginStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_BeginStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_BeginStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_BeginStateBlock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::EndStateBlock
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_EndStateBlock_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_EndStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_EndStateBlock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::LoadVertexShader (* unchanged since 5233 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_LoadVertexShader_1_0_5233,
|
||||
|
@ -2696,6 +2716,26 @@ OOVPATable D3D8_1_0_5558[] =
|
|||
"EmuIDirect3DDevice8_Begin"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DResource8::IsBusy (* unchanged since 4361 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DResource8_IsBusy_1_0_4361,
|
||||
|
||||
XTL::EmuIDirect3DResource8_IsBusy,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DResource8_IsBusy"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::BeginVisibilityTest (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_BeginVisibilityTest_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_BeginVisibilityTest,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_BeginVisibilityTest"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetTransform
|
||||
{
|
||||
(OOVPA*)&IDirect3DDevice8_SetTransform_1_0_5558,
|
||||
|
@ -3175,6 +3215,16 @@ OOVPATable D3D8_1_0_5558[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_Reset"
|
||||
#endif
|
||||
},
|
||||
// D3DDevice_SetRenderState_SampleAlpha (* unchanged since 5233 *)
|
||||
{
|
||||
(OOVPA*)&D3DDevice_SetRenderState_SampleAlpha_1_0_5233,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_SetRenderState_SampleAlpha,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetRenderState_SampleAlpha"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetGammaRamp (* unchanged since 4928 *)
|
||||
{
|
||||
|
@ -3509,6 +3559,16 @@ OOVPATable D3D8_1_0_5558[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetVertexData2f"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::ApplyStateBlock (* unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&D3DDevice_ApplyStateBlock_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DDevice8_ApplyStateBlock,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_ApplyStateBlock"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_RopZCmpAlwaysRead (* unchanged since 4134 *)
|
||||
{
|
||||
|
@ -3519,6 +3579,16 @@ OOVPATable D3D8_1_0_5558[] =
|
|||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DDevice8_SetRenderState_RopZCmpAlwaysRead"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DCubeTexture8::GetCubeMapSurface2 (* Unchanged since 4627 *)
|
||||
{
|
||||
(OOVPA*)&D3DCubeTexture_GetCubeMapSurface2_1_0_4627,
|
||||
|
||||
XTL::EmuIDirect3DCubeTexture8_GetCubeMapSurface2,
|
||||
|
||||
#ifdef _DEBUG_TRACE
|
||||
"EmuIDirect3DCubeTexture8_GetCubeMapSurface2"
|
||||
#endif
|
||||
},
|
||||
// IDirect3DDevice8::SetRenderState_RopZRead (* unchanged since 4134 *)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue