n64: gc issue fix?????????

This commit is contained in:
goyuken 2013-05-04 01:46:12 +00:00
parent 1292c87ca8
commit 079255b29f
1 changed files with 3 additions and 1 deletions

View File

@ -522,9 +522,11 @@ namespace BizHawk.Emulation.Consoles.Nintendo.N64
public void ExecuteEmulator()
{
emulator_running = true;
var cb = new StartupCallback(() => m64pStartupComplete.Set());
m64pCoreDoCommandPtr(m64p_command.M64CMD_EXECUTE, 0,
Marshal.GetFunctionPointerForDelegate(new StartupCallback(() => m64pStartupComplete.Set())));
Marshal.GetFunctionPointerForDelegate(cb));
emulator_running = false;
cb.GetType();
}