add dprintf from ts-ddraw

This commit is contained in:
FunkyFr3sh 2019-04-14 07:28:06 +02:00
parent 0600b75932
commit 9aa457c8b8
3 changed files with 34 additions and 1 deletions

View file

@ -1646,7 +1646,7 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk
#if _DEBUG
if(!stdout_open)
{
freopen("ra95stdout.txt", "w", stdout);
freopen("cnc-ddraw.log", "w", stdout);
setvbuf(stdout, NULL, _IOLBF, 1024);
stdout_open = 1;
}