add some more debugging code

This commit is contained in:
FunkyFr3sh 2018-11-19 07:40:07 +01:00
parent c434e74216
commit add701a7f6
4 changed files with 13 additions and 0 deletions

View file

@ -1309,6 +1309,8 @@ ULONG __stdcall ddraw_Release(IDirectDrawImpl *This)
if(This->Ref == 0)
{
printf(" Released (%p)\n", This);
if(This->render.run)
{
EnterCriticalSection(&This->cs);