fix red alert 1 video stretching for my patch and add GDI renderer video stretching

This commit is contained in:
Maikel vd H 2012-12-11 00:25:21 +01:00
parent 0a4aa43722
commit b91be078fd
16 changed files with 6392 additions and 30 deletions

11
main.c
View file

@ -488,13 +488,10 @@ HRESULT __stdcall ddraw_SetCooperativeLevel(IDirectDrawImpl *This, HWND hWnd, DW
GetWindowText(This->hWnd, (LPTSTR)&This->title, sizeof(This->title));
if(This->vhack == 1)
{
if (strcmp(This->title, "Command & Conquer"))
{
This->vhack = 0;
}
}
if (!strcmp(This->title, "Red Alert"))
{
ddraw->isredalert = 1;
}
return DD_OK;
}