fix TLC launcher fullscreen mode
This commit is contained in:
parent
c66b972f68
commit
dd04e8ce74
2 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue