Skip to content
Permalink
Browse files

gsdx-hw: Update OI_StarWarsForceUnleashed hack.

Remove hack that was replaced by OI_GsMemClear and OI_DoubleHalfClear.
  • Loading branch information...
lightningterror committed May 2, 2019
1 parent eb0d226 commit 637f777ea99e5b13a60fe5e6f801b57a02a56b0f
Showing with 1 addition and 12 deletions.
  1. +1 −12 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))
{

0 comments on commit 637f777

Please sign in to comment.
You can’t perform that action at this time.