Support the new XPC API.
Merge branch 'master' into XPC
Merge branch 'master' into XPC
Actually stop Mupen execution.
Fix license.
Fix license
Customize the start up frame in Mupen.
Add completion handler to MupenThread, attempt to run a couple frame in mupen for setup.
Remove the failed attempt at running one frame in Mupen.
Fix state change callback handling by managing all callbacks in one place and using blocks to watch the changes otherwise.
Run the emulation for a bit to get Mupen save states to load and pause when done.
Prevent the game core from being retained by a global variable. Rename g_core to current to use the same convention across all cores.
Remove callback when the game core is deleted.
Provide actual errors when failing to load/save in Mupen.
Make save states work properly.