diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3911.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3911.inl index 5f36f2378..3658789c5 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3911.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3911.inl @@ -71,7 +71,6 @@ OOVPA_XREF(D3DDevice_GetTexture2, 3911, 1 + 21, // Also for 4361 XREF_ENTRY( 0x0E, XREF_OFFSET_D3DDEVICE_M_TEXTURES ), // derived #endif - OOVPA_NO_XREF(D3DDevice_GetTexture2, 3911, 21) // Also for 4361 { 0x00, 0x8B }, diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3925.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3925.inl index bb43c103d..fd2d38f8d 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3925.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3925.inl @@ -653,7 +653,6 @@ OOVPA_XREF(D3DDevice_GetTexture2, 3911, 1 + 21, // Also for 4361 XREF_ENTRY( 0x0E, XREF_OFFSET_D3DDEVICE_M_TEXTURES ), // derived #endif - OOVPA_NO_XREF(D3DDevice_GetTexture2, 3911, 21) // Also for 4361 { 0x00, 0x8B }, diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3948.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3948.inl index 518e232b5..a384ddae7 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3948.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.3948.inl @@ -32,7 +32,6 @@ // * // ****************************************************************** - // ****************************************************************** // * D3DDevice_SetRenderTarget // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4034.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4034.inl index 648f57065..8979e3775 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4034.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4034.inl @@ -750,6 +750,7 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_VertexBlend, 4034, 7) { 0x34, 0x08 }, { 0x3D, 0x5E }, OOVPA_END; + #if 0 // Moved to 3911 // ****************************************************************** // * D3D_CheckDeviceFormat diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4134.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4134.inl index 1e559d8ac..ee3439a64 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4134.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4134.inl @@ -298,6 +298,7 @@ OOVPA_NO_XREF(D3DDevice_GetBackBuffer, 4134, 12) { 0x20, 0x7C }, { 0x21, 0x20 }, OOVPA_END; + #if 0 // No longer used, replaced by generic 3911 version // ****************************************************************** // * D3DDevice_GetDepthStencilSurface @@ -1514,6 +1515,7 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_PSTextureModes, 4134, 10) { 0x1F, 0xC2 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_BlockUntilVerticalBlank // ****************************************************************** @@ -1892,6 +1894,7 @@ OOVPA_NO_XREF(D3DDevice_SetFlickerFilter, 4134, 11) { 0x40, 0x04 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_SetSoftDisplayFilter // ****************************************************************** @@ -2033,7 +2036,6 @@ OOVPA_NO_XREF(D3DDevice_GetModelView, 4134, 7) { 0x28, 0xE0 }, OOVPA_END; - // ****************************************************************** // * D3D_MakeRequestedSpace // ****************************************************************** @@ -2072,6 +2074,7 @@ OOVPA_XREF(D3D_MakeRequestedSpace, 4134, 28, // Also for 4361, 4627 { 0x1E, 0x54 }, { 0x1F, 0x03 }, OOVPA_END; + #if 0 // Moved to 4039 // ****************************************************************** // * D3DDevice_RunPushBuffer @@ -2596,6 +2599,7 @@ OOVPA_XREF(D3DDevice_BeginStateBlock, 4134, 6, { 0x07, 0x08 }, { 0x08, 0x20 }, OOVPA_END; + #if 0 // No longer used, replaced by generic 3911 version // ****************************************************************** // * D3D_ClearStateBlockFlags @@ -2714,6 +2718,7 @@ OOVPA_NO_XREF(D3DDevice_AddRef, 4134, 10) { 0x0E, 0x3C }, { 0x0F, 0x04 }, OOVPA_END; + #if 0 // No longer used, replaced by another 4134 version // ****************************************************************** // * D3DDevice_AddRef diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl index 44098ec3d..299fd916d 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl @@ -220,6 +220,7 @@ OOVPA_NO_XREF(D3DDevice_SetSwapCallback, 4242, 12) { 0x11, 0x04 }, OOVPA_END; #endif + // ****************************************************************** // * D3D_GetAdapterDisplayMode // ****************************************************************** @@ -246,6 +247,7 @@ OOVPA_NO_XREF(D3D_GetAdapterDisplayMode, 4361, 13) { 0xBD, 0xC2 }, { 0xBE, 0x08 }, OOVPA_END; + #if 0 // Moved to 4242 // ****************************************************************** // * D3DDevice_AddRef @@ -1115,7 +1117,6 @@ OOVPA_XREF(D3DDevice_SetTexture, 4361, 1+28, XREF_ENTRY( 0x13, XREF_OFFSET_D3DDEVICE_M_TEXTURES ), // derived #endif - OOVPA_NO_XREF(D3DDevice_SetTexture, 4361, 28) { 0x00, 0x83 }, diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4432.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4432.inl index 3c0e66f13..66b597988 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4432.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4432.inl @@ -419,6 +419,7 @@ OOVPA_NO_XREF(D3DDevice_SetVerticalBlankCallback, 4432, 12) { 0x10, 0xC2 }, { 0x11, 0x04 }, OOVPA_END; + #if 0 // Moved to 4531 // ****************************************************************** // * D3DDevice_SetRenderState_BackFillMode diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4531.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4531.inl index ee09e3118..16d675eeb 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4531.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4531.inl @@ -32,7 +32,6 @@ // * // ****************************************************************** - // ****************************************************************** // * D3DDevice_Swap // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4627.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4627.inl index 3353422e5..f3cf078b8 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4627.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4627.inl @@ -758,6 +758,7 @@ OOVPA_NO_XREF(D3DDevice_SetPixelShaderConstant, 4831, 13) { 0xC2, 0x00 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_SetVertexShaderConstant // ****************************************************************** @@ -861,7 +862,6 @@ OOVPA_NO_XREF(D3DDevice_SetVertexShaderConstantNotInline, 4627, 12) // (NOT 5344 { 0x28, 0xE8 }, OOVPA_END; - // ****************************************************************** // * D3DDevice_SetVertexShaderConstantNotInlineFast // ****************************************************************** @@ -1028,6 +1028,7 @@ OOVPA_NO_XREF(D3DDevice_CreateTexture2, 4627, 13) { 0xAE, 0xC2 }, { 0xAF, 0x1C }, OOVPA_END; + #if 0 // Moved to 4831 // ****************************************************************** // * D3DDevice_CreateTexture2 @@ -1325,7 +1326,6 @@ OOVPA_NO_XREF(D3DDevice_SetVertexData2f, 4627, 14) { 0x3E, 0x0C }, OOVPA_END; #endif - #if 0 // No longer used, replaced by generic 4039 version // ****************************************************************** // * D3DDevice_SetVertexData4f @@ -1662,7 +1662,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_NormalizeNormals, 4627, 8) { 0x40, 0x04 }, OOVPA_END; #endif - #if 0 // Used 4134 instead in 4627, 4721, 4831, 4928 // ****************************************************************** // * D3DDevice_SetRenderState_EdgeAntiAlias @@ -1801,6 +1800,7 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_MultiSampleAntiAlias, 4627, 17) { 0x5C, 0x05 }, { 0x5D, 0xE8 }, OOVPA_END; + #if 0 // No longer used, replaced by generic 4627 version // ****************************************************************** // * D3DDevice_SetRenderState_MultiSampleAntiAlias @@ -2403,7 +2403,6 @@ OOVPA_NO_XREF(D3DDevice_SetVertexShader, 4627, 14) { 0xC6, 0x04 }, OOVPA_END; #endif - #if 0 // No longer used, replaced by generic 3911 version // ****************************************************************** // * D3DDevice_Release @@ -2458,6 +2457,7 @@ OOVPA_NO_XREF(D3DDevice_SetBackBufferScale, 4627, 6) { 0xDE, 0x8B }, OOVPA_END; #endif + // ****************************************************************** // * CMiniport_IsFlipPending // ****************************************************************** @@ -2697,6 +2697,7 @@ OOVPA_NO_XREF(D3DDevice_KickOff, 4531, 13) { 0xE2, 0xC3 } OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_KickPushBuffer // ****************************************************************** @@ -3081,6 +3082,7 @@ OOVPA_XREF(D3D_BlockOnTime, 4627, 6, { 0xE3, 0x80 }, { 0xF5, 0x30 }, OOVPA_END; + #if 0 // Moved to 4039 // ****************************************************************** // * D3DDevice_BlockOnFence @@ -3144,7 +3146,6 @@ OOVPA_NO_XREF(D3DDevice_CreateImageSurface, 4627, 9) { 0x2E, 0x00 }, OOVPA_END; - // ****************************************************************** // * D3DCubeTexture_GetCubeMapSurface // ****************************************************************** @@ -3336,6 +3337,7 @@ OOVPA_NO_XREF(D3DDevice_EndPushBuffer, 4627, 7) { 0x7C, 0x88 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_GetPushBufferOffset // ****************************************************************** @@ -3352,6 +3354,7 @@ OOVPA_NO_XREF(D3DDevice_GetPushBufferOffset, 4627, 10) { 0x1E, 0x07 }, { 0x1F, 0x03 }, OOVPA_END; + #if 0 // Moved to 4928 // ****************************************************************** // * D3DDevice_GetPersistedSurface2 @@ -3366,6 +3369,7 @@ OOVPA_NO_XREF(D3DDevice_GetPersistedSurface2, 4928, 6) // For only on Unreal Cha { 0x05, 0x00 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_SetModelView // ****************************************************************** @@ -3434,6 +3438,7 @@ OOVPA_NO_XREF(D3DDevice_SetDepthClipPlanes, 4627, 7) { 0x8A, 0x00 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_GetMaterial // ****************************************************************** @@ -3633,6 +3638,7 @@ OOVPA_NO_XREF(D3DPalette_Lock, 4531, 17) { 0x22, 0x0C }, OOVPA_END; #endif + // ****************************************************************** // * D3D8_4627 // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4831.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4831.inl index 411bede46..e55c4020b 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4831.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4831.inl @@ -119,7 +119,6 @@ OOVPA_NO_XREF(D3DDevice_SetTexture, 4831, 15) { 0x56, 0x45 }, OOVPA_END; - // ****************************************************************** // * D3DDevice_PersistDisplay // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5028.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5028.inl index e8dc3911b..4240bff95 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5028.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5028.inl @@ -766,6 +766,7 @@ OOVPA_XREF(D3D_CommonSetRenderTarget, 5028, 12, { 0x7E, 0xD8 }, { 0x7F, 0x05 }, OOVPA_END; + #if 0 // No longer used, replaced by generic 5028 version // ****************************************************************** // * D3D_CommonSetRenderTarget @@ -960,6 +961,7 @@ OOVPA_NO_XREF(D3DDevice_GetOverlayUpdateStatus, 5028, 12) { 0x1C, 0xC3 }, OOVPA_END; #endif + // ****************************************************************** // * D3D::CDevice::KickOff // ****************************************************************** @@ -1183,6 +1185,7 @@ OOVPA_XREF(D3D_MakeRequestedSpace, 5028, 28, // Also for 5344 { 0x1E, 0x50 }, { 0x1F, 0x03 }, OOVPA_END; + #if 0 // Moved to 5120 // ****************************************************************** // * D3DDevice_RunPushBuffer diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5233.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5233.inl index f0ae37cdc..827b75ea3 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5233.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5233.inl @@ -159,7 +159,6 @@ OOVPA_XREF(D3DDevice_SetRenderState_CullMode, 5233, 2+13, { 0x56, 0x04 }, OOVPA_END; #endif - #if 0 // No longer used, replaced by generic 4831 version // ****************************************************************** // * D3DDevice_SetTexture @@ -267,6 +266,7 @@ OOVPA_NO_XREF(D3DDevice_GetOverlayUpdateStatus, 5233, 12) { 0x1C, 0xC3 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_BlockUntilVerticalBlank // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5344.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5344.inl index de306633f..2256dbfe7 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5344.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5344.inl @@ -479,6 +479,7 @@ OOVPA_NO_XREF(D3DDevice_SetFlickerFilter, 5344, 12) { 0x40, 0x04 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_SetViewport // ****************************************************************** @@ -836,6 +837,7 @@ OOVPA_NO_XREF(D3DDevice_CreatePixelShader, 5344, 11) { 0x45, 0xC2 }, { 0x46, 0x08 }, OOVPA_END; + #if 0 // Moved to 5233 // ****************************************************************** // * D3DDevice_SetPixelShaderConstant diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl index 48969d1c5..b67c7f89f 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl @@ -56,6 +56,7 @@ OOVPA_XREF(D3DDevice_LazySetStateVB, 5558, 12, { 0x7A, 0x40 }, { 0x7B, 0x00 }, OOVPA_END; + #if 0 // Moved to 5028 // ****************************************************************** // * D3DDevice_BeginPush @@ -399,6 +400,7 @@ OOVPA_NO_XREF(D3DDevice_SetMaterial, 5455, 11) { 0x2E, 0x04 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_SetMaterial // ****************************************************************** @@ -418,6 +420,7 @@ OOVPA_NO_XREF(D3DDevice_SetMaterial, 5558, 11) { 0x2C, 0x5E }, { 0x2E, 0x04 }, OOVPA_END; + #if 0 // Moved to 5659 // ****************************************************************** // * D3DDevice_SetMaterial @@ -457,6 +460,7 @@ OOVPA_NO_XREF(D3DDevice_GetMaterial, 5455, 8) { 0x1A, 0xC2 }, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_GetMaterial // ****************************************************************** @@ -769,6 +773,7 @@ OOVPA_XREF(D3D_BlockOnResource, 5558, 16, OOVPA_END; #endif + // ****************************************************************** // * D3DDevice_SetScissors // ****************************************************************** diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5788.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5788.inl index aebf9a0a2..91ac0209f 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5788.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5788.inl @@ -269,7 +269,6 @@ OOVPA_NO_XREF(D3DVertexBuffer_Lock2, 5788, 7) { 0x44, 0x00 }, OOVPA_END; #endif - #if 0 // Moved to 5455 // ****************************************************************** // * D3D_AllocContiguousMemory