gpgx - support up to 32MB roms (fix #543 probably)

This commit is contained in:
zeromus 2015-12-08 19:49:31 -06:00
parent 708bb4fa93
commit 802fb54fad
3 changed files with 2 additions and 3 deletions

View File

@ -70,8 +70,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
// http://www.sega-16.com/forum/showthread.php?4398-Forgotten-Worlds-giving-you-GAME-OVER-immediately-Fix-inside&highlight=forgotten%20worlds
//hack, don't use
//romfile = File.ReadAllBytes(@"D:\encodes\bizhawksrc\output\SANIC CD\PierSolar (E).bin");
if (rom != null && rom.Length > 16 * 1024 * 1024)
if (rom != null && rom.Length > 32 * 1024 * 1024)
{
throw new InvalidOperationException("ROM too big! Did you try to load a CD as a ROM?");
}

View File

@ -40,7 +40,7 @@
#ifndef _LOADROM_H_
#define _LOADROM_H_
#define MAXROMSIZE 10485760
#define MAXROMSIZE (32*1024*1024)
typedef struct
{

Binary file not shown.