WM_CREATE: remove CpuCreateCriticalSection(), since done in SY6522.Reset()
This commit is contained in:
parent
b519031de4
commit
83e56924f7
2 changed files with 0 additions and 4 deletions
|
@ -636,7 +636,6 @@ DWORD CpuExecute(const DWORD uCycles, const bool bVideoUpdate)
|
|||
// Called by:
|
||||
// . CpuInitialize()
|
||||
// . SY6522.Reset()
|
||||
// . FrameCreateWindow() -> WM_CREATE
|
||||
void CpuCreateCriticalSection(void)
|
||||
{
|
||||
if (!g_bCritSectionValid)
|
||||
|
|
|
@ -1001,9 +1001,6 @@ LRESULT Win32Frame::WndProc(
|
|||
DIMouse::DirectInputInit(window);
|
||||
LogFileOutput("WM_CREATE: DIMouse::DirectInputInit()\n");
|
||||
|
||||
CpuCreateCriticalSection(); // NB. Creates CriticalSection that's needed by MB_Initialize() -- required on a VM restart
|
||||
LogFileOutput("WM_CREATE: CpuCreateCriticalSection()\n");
|
||||
|
||||
MB_Initialize();
|
||||
LogFileOutput("WM_CREATE: MB_Initialize()\n");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue