comments
This commit is contained in:
parent
fa9dcfae35
commit
a6e4b87f36
|
@ -64,6 +64,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
|
|||
});
|
||||
using (_exe.EnterExit())
|
||||
{
|
||||
// Marshal checks that function pointers passed to GetDelegateForFunctionPointer are
|
||||
// _currently_ valid when created, even though they don't need to be valid until
|
||||
// the delegate is later invoked. so GetInvoker needs to be acquired within a lock.
|
||||
_core = BizInvoker.GetInvoker<CoreImpl>(_exe, _exe);
|
||||
_comm = (CommStruct*)_core.DllInit().ToPointer();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue