Correct stopping of Core in OSX via Command+Q, and fix a thread from not dying when stopping with CoreAudio

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5013 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2010-02-05 10:48:31 +00:00
parent 5485506293
commit 675e1f668e
4 changed files with 21 additions and 4 deletions

View File

@ -188,7 +188,7 @@ int main(int argc, char *argv[])
event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:YES ];
if(cocoaSendEvent(event))
{
PowerPC::Shutdown();
Core::Stop();
break;
}
}