From ff2303469392c1683d7cf8431640fb35605b92ad Mon Sep 17 00:00:00 2001 From: Echelon9 Date: Sun, 15 Jun 2014 12:07:10 +1000 Subject: [PATCH] Fix Issue #5: Support EnableOverlay() on 5659 and 5558 --- src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl index 90935eb15..3914cf0da 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.5558.inl @@ -3404,6 +3404,16 @@ OOVPATable D3D8_1_0_5558[] = "EmuIDirect3DDevice8_FlushVertexCache" #endif }, + // IDirect3DDevice8::EnableOverlay (* unchanged since 4361 *) + { + (OOVPA*)&IDirect3DDevice8_EnableOverlay_1_0_4361, + + XTL::EmuIDirect3DDevice8_EnableOverlay, + + #ifdef _DEBUG_TRACE + "EmuIDirect3DDevice8_EnableOverlay" + #endif + }, // D3DDevice_SetRenderState_LogicOp { (OOVPA*)&D3DDevice_SetRenderState_LogicOp_1_0_5558,