waterbox gpgx: fix the same thing as in the snes core
This commit is contained in:
parent
a6e4b87f36
commit
418ef7c080
|
@ -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?");
|
throw new InvalidOperationException("ROM too big! Did you try to load a CD as a ROM?");
|
||||||
}
|
}
|
||||||
|
|
||||||
_elf = new PeRunner(new PeRunnerOptions
|
_elf = new PeRunner(new PeRunnerOptions
|
||||||
{
|
{
|
||||||
Path = comm.CoreFileProvider.DllPath(),
|
Path = comm.CoreFileProvider.DllPath(),
|
||||||
Filename = "gpgx.wbx",
|
Filename = "gpgx.wbx",
|
||||||
SbrkHeapSizeKB = 256,
|
SbrkHeapSizeKB = 256,
|
||||||
SealedHeapSizeKB = 36 * 1024,
|
SealedHeapSizeKB = 36 * 1024,
|
||||||
InvisibleHeapSizeKB = 4 * 1024,
|
InvisibleHeapSizeKB = 4 * 1024,
|
||||||
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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue