SetRenderState_FillMode fix for 5849 titles (and maybe others)

This commit is contained in:
Voxel9 2018-06-01 22:56:06 +01:00
parent a5623ea13b
commit b2529c8013
1 changed files with 9389 additions and 9388 deletions

View File

@ -6083,7 +6083,8 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_SetRenderState_FillMode)
DWORD dwFillMode;
g_CurrentFillMode = EmuXB2PC_D3DFILLMODE(Value);
if(Value != 0)
g_CurrentFillMode = EmuXB2PC_D3DFILLMODE(Value);
if(g_iWireframe == 0)
dwFillMode = g_CurrentFillMode;