Fix crash when saving CD ebram
This commit is contained in:
parent
80f209ed0d
commit
fb438863f5
Binary file not shown.
|
@ -43,8 +43,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
|
|||
Filename = "gpgx.wbx",
|
||||
SbrkHeapSizeKB = 512,
|
||||
SealedHeapSizeKB = 4 * 1024,
|
||||
InvisibleHeapSizeKB = 4 * 1024,
|
||||
PlainHeapSizeKB = 48 * 1024,
|
||||
InvisibleHeapSizeKB = 2572 * 1024,
|
||||
PlainHeapSizeKB = 4 * 1024,
|
||||
MmapHeapSizeKB = 1 * 1024,
|
||||
SkipCoreConsistencyCheck = lp.Comm.CorePreferences.HasFlag(CoreComm.CorePreferencesFlags.WaterboxCoreConsistencyCheck),
|
||||
SkipMemoryConsistencyCheck = lp.Comm.CorePreferences.HasFlag(CoreComm.CorePreferencesFlags.WaterboxMemoryConsistencyCheck),
|
||||
|
|
|
@ -722,8 +722,8 @@ GPGX_EX int gpgx_init(const char* feromextension,
|
|||
bitmap.width = 1024;
|
||||
bitmap.height = 512;
|
||||
bitmap.pitch = 1024 * 4;
|
||||
bitmap.data = alloc_plain(2 * 1024 * 1024);
|
||||
tempsram = alloc_plain(24 * 1024);
|
||||
bitmap.data = alloc_invisible(2 * 1024 * 1024);
|
||||
tempsram = alloc_invisible(0x100000 + 0x2000);
|
||||
|
||||
// Initializing ram deepfreeze list
|
||||
#ifdef USE_RAM_DEEPFREEZE
|
||||
|
|
Loading…
Reference in New Issue