[N-Rage] Mouse Lock Up fix when ending emulation when it's locked?
This commit is contained in:
parent
28741a0367
commit
674afb454b
|
@ -499,7 +499,10 @@ EXPORT void CALL RomClosed(void)
|
||||||
EnterCriticalSection( &g_critical );
|
EnterCriticalSection( &g_critical );
|
||||||
|
|
||||||
if (g_sysMouse.didHandle)
|
if (g_sysMouse.didHandle)
|
||||||
|
{
|
||||||
|
g_sysMouse.didHandle->Unacquire();
|
||||||
g_sysMouse.didHandle->SetCooperativeLevel(g_strEmuInfo.hMainWindow, DIB_KEYBOARD); // unlock the mouse, just in case
|
g_sysMouse.didHandle->SetCooperativeLevel(g_strEmuInfo.hMainWindow, DIB_KEYBOARD); // unlock the mouse, just in case
|
||||||
|
}
|
||||||
|
|
||||||
for( i = 0; i < ARRAYSIZE(g_pcControllers); ++i )
|
for( i = 0; i < ARRAYSIZE(g_pcControllers); ++i )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue