Skip to content

Commit

Permalink
d3d8: fix scan priority order for following list:
Browse files Browse the repository at this point in the history
- D3DCubeTexture_GetCubeMapSurface(2)
- D3DDevice_GetRenderTarget(2)
  • Loading branch information
RadWolfie committed Feb 27, 2023
1 parent bbfcb66 commit fc09c41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/OOVPADatabase/D3D8LTCG_OOVPA.inl
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ OOVPATable D3D8LTCG_OOVPA[] = {
REGISTER_OOVPAS_BIND_XREF(D3D_BlockOnTime_4, D3D_BlockOnTime, 2048, 2060),

REGISTER_OOVPAS_D3D(CMiniport_InitHardware, 1024),
REGISTER_OOVPAS(D3DCubeTexture_GetCubeMapSurface, 1024),
REGISTER_OOVPAS(D3DCubeTexture_GetCubeMapSurface2, 1024),
REGISTER_OOVPAS(D3DCubeTexture_GetCubeMapSurface, 1024),
REGISTER_OOVPAS(D3DDevice_Begin, 1024, 1036, 1048),
REGISTER_OOVPAS(D3DDevice_BeginPush, 1024, 1036),
REGISTER_OOVPAS(D3DDevice_BeginPushBuffer, 1024, 1036),
Expand Down
4 changes: 2 additions & 2 deletions src/OOVPADatabase/D3D8_OOVPA.inl
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ OOVPATable D3D8_OOVPA[] = {
REGISTER_OOVPAS_D3D(CMiniport_InitHardware, 3911, 4034, 5455),
REGISTER_OOVPAS_D3D(CMiniport_IsFlipPending, 3911, 4242, 4627, 4928),
REGISTER_OOVPAS(D3DBaseTexture_GetLevelCount, 3911),
REGISTER_OOVPAS(D3DCubeTexture_GetCubeMapSurface, 3911, 4627), // Final generic OOVPA: 4627; Removed: 0
REGISTER_OOVPAS(D3DCubeTexture_GetCubeMapSurface2, 4627), // Final generic OOVPA: 4627; Removed: 0
REGISTER_OOVPAS(D3DCubeTexture_GetCubeMapSurface, 3911, 4627), // Final generic OOVPA: 4627; Removed: 0
REGISTER_OOVPAS(D3DCubeTexture_LockRect, 3911), // Just calls Lock2DSurface (from 4134, 4432's comment)
REGISTER_OOVPAS(D3DDevice_AddRef, 3911, 4039, 4134, 4242, 4627, 5028, 5344, 5558, 5788),
REGISTER_OOVPAS(D3DDevice_ApplyStateBlock, 3911, 4627),
Expand Down Expand Up @@ -263,8 +263,8 @@ OOVPATable D3D8_OOVPA[] = {
REGISTER_OOVPAS(D3DDevice_GetPixelShader, 3911, 4039, 4134, 5028, 5558, 5788),
REGISTER_OOVPAS(D3DDevice_GetProjectionViewportMatrix, 3911, 4134, 4627, 5344, 5558), // For 5455 (from 5558's comment)
REGISTER_OOVPAS(D3DDevice_GetPushBufferOffset, 3911, 4627), //TODO 4831 (from 4627's comment)
REGISTER_OOVPAS(D3DDevice_GetRenderTarget, 3911, 4627), // Final generic OOVPA: 4627; Removed: 0 // NOTE: Use D3DDevice_GetRenderTarget2 for 4627 and above
REGISTER_OOVPAS(D3DDevice_GetRenderTarget2, 4627), // Final generic OOVPA: 4627; Removed: 0
REGISTER_OOVPAS(D3DDevice_GetRenderTarget, 3911, 4627), // Final generic OOVPA: 4627; Removed: 0 // NOTE: Use D3DDevice_GetRenderTarget2 for 4627 and above
REGISTER_OOVPAS(D3DDevice_GetScissors, 3911),
REGISTER_OOVPAS(D3DDevice_GetShaderConstantMode, 3911, 4134, 4627, 5028, 5344, 5558, 5788),
REGISTER_OOVPAS(D3DDevice_GetStreamSource2, 4627),
Expand Down

0 comments on commit fc09c41

Please sign in to comment.