diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs index 4e1bd10e8a..8df435dd0d 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs @@ -41,19 +41,19 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx64 throw new InvalidOperationException("ROM too big! Did you try to load a CD as a ROM?"); } - _elf = new PeRunner(new PeRunnerOptions - { - Path = comm.CoreFileProvider.DllPath(), - Filename = "gpgx.wbx", - SbrkHeapSizeKB = 256, - SealedHeapSizeKB = 36 * 1024, - InvisibleHeapSizeKB = 4 * 1024, - PlainHeapSizeKB = 64 - }); + _elf = new PeRunner(new PeRunnerOptions + { + Path = comm.CoreFileProvider.DllPath(), + Filename = "gpgx.wbx", + SbrkHeapSizeKB = 256, + SealedHeapSizeKB = 36 * 1024, + InvisibleHeapSizeKB = 4 * 1024, + PlainHeapSizeKB = 64 + }); - Core = BizInvoker.GetInvoker(_elf, _elf); using (_elf.EnterExit()) - { + { + Core = BizInvoker.GetInvoker(_elf, _elf); _syncSettings = (GPGXSyncSettings)syncSettings ?? new GPGXSyncSettings(); _settings = (GPGXSettings)settings ?? new GPGXSettings();