From 637f777ea99e5b13a60fe5e6f801b57a02a56b0f Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 2 May 2019 22:53:44 +0200 Subject: [PATCH] gsdx-hw: Update OI_StarWarsForceUnleashed hack. Remove hack that was replaced by OI_GsMemClear and OI_DoubleHalfClear. --- plugins/GSdx/Renderers/HW/GSRendererHW.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/plugins/GSdx/Renderers/HW/GSRendererHW.cpp b/plugins/GSdx/Renderers/HW/GSRendererHW.cpp index 1d8753fbfa..94bbd47259 100644 --- a/plugins/GSdx/Renderers/HW/GSRendererHW.cpp +++ b/plugins/GSdx/Renderers/HW/GSRendererHW.cpp @@ -1672,18 +1672,7 @@ bool GSRendererHW::OI_StarWarsForceUnleashed(GSTexture* rt, GSTexture* ds, GSTex uint32 FBP = m_context->FRAME.Block(); uint32 FPSM = m_context->FRAME.PSM; - if(!PRIM->TME) - { - if(FPSM == PSM_PSMCT24 && FBP == 0x2bc0) - { - if(ds) - ds->Commit(); // Don't bother to save few MB for a single game - m_dev->ClearDepth(ds); - - return false; - } - } - else if(PRIM->TME) + if(PRIM->TME) { if((FBP == 0x0 || FBP == 0x01180) && FPSM == PSM_PSMCT32 && (m_vt.m_eq.z && m_vt.m_max.p.z == 0)) {