Fix for twisted metal 2
This commit is contained in:
parent
434fb86d9c
commit
27323efa4b
4 changed files with 7 additions and 6 deletions
|
@ -1837,10 +1837,11 @@ ULONG __stdcall ddraw_Release(IDirectDrawImpl *This)
|
|||
}
|
||||
else
|
||||
{
|
||||
This->lpVtbl->SetDisplayMode1 = ddraw_SetDisplayMode;
|
||||
if (!This->tm2hack)
|
||||
This->lpVtbl->SetDisplayMode1 = ddraw_SetDisplayMode;
|
||||
}
|
||||
|
||||
if (This->ddrawrefcount0)
|
||||
if (This->tm2hack)
|
||||
return 0;
|
||||
|
||||
return This->Ref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue