1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

#28 Fix for populous 3 crash

This commit is contained in:
FunkyFr3sh 2020-09-26 15:04:27 +02:00
parent f0fb557827
commit 0251ec6c53

View File

@ -1835,6 +1835,10 @@ ULONG __stdcall ddraw_Release(IDirectDrawImpl *This)
ddraw = NULL;
return 0;
}
else
{
This->lpVtbl->SetDisplayMode1 = ddraw_SetDisplayMode;
}
if (This->ddrawrefcount0)
return 0;