mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix TLC launcher fullscreen mode
This commit is contained in:
parent
c66b972f68
commit
dd04e8ce74
@ -1362,8 +1362,6 @@ static void cfg_create_ini()
|
|||||||
"; The Learning Company Launcher\n"
|
"; The Learning Company Launcher\n"
|
||||||
"[TLCLauncher]\n"
|
"[TLCLauncher]\n"
|
||||||
"tlc_hack=true\n"
|
"tlc_hack=true\n"
|
||||||
"windowed=true\n"
|
|
||||||
"fullscreen=false\n"
|
|
||||||
"adjmouse=false\n"
|
"adjmouse=false\n"
|
||||||
"width=0\n"
|
"width=0\n"
|
||||||
"height=0\n"
|
"height=0\n"
|
||||||
|
@ -511,7 +511,7 @@ BOOL WINAPI fake_ShowWindow(HWND hWnd, int nCmdShow)
|
|||||||
if (nCmdShow == SW_MAXIMIZE)
|
if (nCmdShow == SW_MAXIMIZE)
|
||||||
nCmdShow = SW_NORMAL;
|
nCmdShow = SW_NORMAL;
|
||||||
|
|
||||||
if (nCmdShow == SW_MINIMIZE && g_config.hook != 2)
|
if (nCmdShow == SW_MINIMIZE && g_config.hook != 2 && !g_config.tlc_hack)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user