mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
enable workaround for fallout 1 as well
This commit is contained in:
parent
a0ec16ba4d
commit
e6c5c4ede2
@ -1602,9 +1602,9 @@ HWND WINAPI fake_CreateWindowExA(
|
|||||||
dwStyle &= ~WS_POPUP;
|
dwStyle &= ~WS_POPUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fallout 2 */
|
/* Fallout 1/2 */
|
||||||
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "GNW95 Class") == 0 &&
|
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "GNW95 Class") == 0 &&
|
||||||
_strcmpi(lpWindowName, "FALLOUT II") == 0)
|
strstr(lpWindowName, "FALLOUT"))
|
||||||
{
|
{
|
||||||
/* Workaround for window not showing up in taskbar sometimes */
|
/* Workaround for window not showing up in taskbar sometimes */
|
||||||
dwExStyle |= WS_EX_APPWINDOW;
|
dwExStyle |= WS_EX_APPWINDOW;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user