Cocoa Port (OpenEmu Plug-in):

- Fix possible crash on emulation reset.
This commit is contained in:
rogerman 2013-05-22 01:09:17 +00:00
parent 3835544919
commit 0e4e74d8f7
1 changed files with 2 additions and 0 deletions

View File

@ -176,7 +176,9 @@
- (void)resetEmulation - (void)resetEmulation
{ {
pthread_mutex_lock(&mutexCoreExecute);
NDS_Reset(); NDS_Reset();
pthread_mutex_unlock(&mutexCoreExecute);
execute = true; execute = true;
} }