#313 Add partial support for American Girls Dress Designer (Fullscreen only, no upscaling)

This commit is contained in:
FunkyFr3sh 2024-05-22 23:51:48 +02:00
parent 504c2eb1c5
commit 0cf0533654
4 changed files with 27 additions and 3 deletions

View file

@ -551,6 +551,14 @@ void util_set_window_rect(int x, int y, int width, int height, UINT flags)
}
}
BOOL CALLBACK util_enum_thread_wnd_proc(HWND hwnd, LPARAM lParam)
{
if (!g_ddraw.hwnd)
g_ddraw.hwnd = hwnd;
return FALSE;
}
BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam)
{
IDirectDrawSurfaceImpl* this = (IDirectDrawSurfaceImpl*)lparam;