mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +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"
|
||||
"[TLCLauncher]\n"
|
||||
"tlc_hack=true\n"
|
||||
"windowed=true\n"
|
||||
"fullscreen=false\n"
|
||||
"adjmouse=false\n"
|
||||
"width=0\n"
|
||||
"height=0\n"
|
||||
|
@ -511,7 +511,7 @@ BOOL WINAPI fake_ShowWindow(HWND hWnd, int nCmdShow)
|
||||
if (nCmdShow == SW_MAXIMIZE)
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user