improve logging
This commit is contained in:
parent
b4352232c8
commit
6a22fcf142
2 changed files with 4 additions and 0 deletions
2
src/dd.c
2
src/dd.c
|
@ -1547,6 +1547,8 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
|
|||
|
||||
if ((rc.right < real_GetSystemMetrics(SM_CXSCREEN) && rc.bottom < real_GetSystemMetrics(SM_CYSCREEN)) || !popup)
|
||||
{
|
||||
TRACE(" client rect=%dx%d\n", rc.right, rc.bottom);
|
||||
|
||||
g_ddraw.windowed_hack = TRUE;
|
||||
dd_SetDisplayMode(rc.right, rc.bottom, 16, 0);
|
||||
}
|
||||
|
|
|
@ -649,6 +649,8 @@ void hook_init()
|
|||
{
|
||||
/* Switch to 3 if we can be sure that ddraw.dll will not be unloaded from the process */
|
||||
g_config.hook = 3;
|
||||
|
||||
TRACE("g_config.hook = 3\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue