1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

handle "AVI Window" in StretchDIBits as well

This commit is contained in:
FunkyFr3sh 2024-04-26 01:27:34 +02:00
parent 36ae25ea89
commit b34ec49a13

View File

@ -899,6 +899,7 @@ int WINAPI fake_StretchDIBits(
(hwnd == g_ddraw.hwnd ||
(g_config.fixchilds && IsChild(g_ddraw.hwnd, hwnd) &&
(g_config.fixchilds == FIX_CHILDS_DETECT_HIDE ||
strcmp(class_name, "AVI Window") == 0 ||
strcmp(class_name, "MCIAVI") == 0 ||
strcmp(class_name, "AVIWnd32") == 0 ||
strcmp(class_name, "MCIWndClass") == 0))))