mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-01 12:31:59 +00:00
Avoid ASSERT from MB_Reset() on exit
This commit is contained in:
parent
4e88163430
commit
2f4bbd2b8a
@ -645,13 +645,10 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
|
|||||||
{
|
{
|
||||||
g_cmdLine.bSetFullScreen = g_bRestartFullScreen;
|
g_cmdLine.bSetFullScreen = g_bRestartFullScreen;
|
||||||
g_bRestartFullScreen = false;
|
g_bRestartFullScreen = false;
|
||||||
}
|
|
||||||
|
|
||||||
MB_Reset(true);
|
MB_Reset(true);
|
||||||
LogFileOutput("Main: MB_Reset()\n");
|
LogFileOutput("Main: MB_Reset()\n");
|
||||||
|
|
||||||
if (g_bRestart)
|
|
||||||
{
|
|
||||||
CMouseInterface* pMouseCard = GetCardMgr().GetMouseCard();
|
CMouseInterface* pMouseCard = GetCardMgr().GetMouseCard();
|
||||||
if (pMouseCard)
|
if (pMouseCard)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user