Cocoa Port (OpenEmu Plug-in):
- Fix possible crash on emulation reset.
This commit is contained in:
parent
3835544919
commit
0e4e74d8f7
|
@ -176,7 +176,9 @@
|
||||||
|
|
||||||
- (void)resetEmulation
|
- (void)resetEmulation
|
||||||
{
|
{
|
||||||
|
pthread_mutex_lock(&mutexCoreExecute);
|
||||||
NDS_Reset();
|
NDS_Reset();
|
||||||
|
pthread_mutex_unlock(&mutexCoreExecute);
|
||||||
execute = true;
|
execute = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue