fix red alert 1 video stretching for my patch and add GDI renderer video stretching
This commit is contained in:
parent
0a4aa43722
commit
b91be078fd
16 changed files with 6392 additions and 30 deletions
11
main.c
11
main.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue