# HG changeset patch # User Ritor1 # Date 1406184624 -21600 # Node ID 45dcf81c5b1c3da42f70fa61fa8863b8b71578a5 # Parent 063d194e08816a5d2a219f39781ab6784616e4fb //pKeyActionMap = new KeyboardActionMapping; diff -r 063d194e0881 -r 45dcf81c5b1c mm7_2.cpp --- a/mm7_2.cpp Thu Jul 24 12:44:32 2014 +0600 +++ b/mm7_2.cpp Thu Jul 24 12:50:24 2014 +0600 @@ -1459,7 +1459,7 @@ MM6_Initialize(pMM6IniFile); - //pKeyActionMap = new KeyboardActionMapping; + pKeyActionMap = new KeyboardActionMapping; // _CrtDumpMemoryLeaks(); OnTimer(1); @@ -2034,7 +2034,7 @@ uCPUSpeed = 2048; // about 2GHz //_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF | _CRTDBG_CHECK_ALWAYS_DF );//Ritor1: for memory test(для проверки памяти) - pKeyActionMap = new KeyboardActionMapping; + if (!MM7_Initialize(640, 480))//задаётся размер окна { Log::Warning(L"MM init: failed");