mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
add another check to StretchBlt hook
This commit is contained in:
parent
686b2c738b
commit
82526a9597
@ -570,7 +570,7 @@ BOOL WINAPI fake_StretchBlt(
|
||||
|
||||
if (g_ddraw && g_ddraw->hwnd &&
|
||||
(hwnd == g_ddraw->hwnd ||
|
||||
(IsChild(g_ddraw->hwnd, hwnd) &&
|
||||
(g_ddraw->fixchilds && IsChild(g_ddraw->hwnd, hwnd) &&
|
||||
(g_ddraw->fixchilds == FIX_CHILDS_DETECT_HIDE ||
|
||||
strcmp(class_name, "AVIWnd32") == 0 ||
|
||||
strcmp(class_name, "MCIWndClass") == 0))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user