waterbox gpgx: fix the same thing as in the snes core

This commit is contained in:
nattthebear 2017-06-11 07:57:37 -04:00
parent a6e4b87f36
commit 418ef7c080
1 changed files with 11 additions and 11 deletions

View File

@ -51,9 +51,9 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx64
PlainHeapSizeKB = 64 PlainHeapSizeKB = 64
}); });
Core = BizInvoker.GetInvoker<LibGPGX>(_elf, _elf);
using (_elf.EnterExit()) using (_elf.EnterExit())
{ {
Core = BizInvoker.GetInvoker<LibGPGX>(_elf, _elf);
_syncSettings = (GPGXSyncSettings)syncSettings ?? new GPGXSyncSettings(); _syncSettings = (GPGXSyncSettings)syncSettings ?? new GPGXSyncSettings();
_settings = (GPGXSettings)settings ?? new GPGXSettings(); _settings = (GPGXSettings)settings ?? new GPGXSettings();