add dprintf from ts-ddraw
This commit is contained in:
parent
0600b75932
commit
9aa457c8b8
3 changed files with 34 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue