mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-16 09:30:00 +00:00
WM_CREATE: remove CpuCreateCriticalSection(), since done in SY6522.Reset()
This commit is contained in:
parent
b519031de4
commit
83e56924f7
@ -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…
x
Reference in New Issue
Block a user