Increase MAX_CART_SIZE from 32MiB to 128MiB
Some ROM hacks are larger than 32MiB. Fix #1046 Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
f8c1d31294
commit
22578d02eb
|
@ -60,7 +60,7 @@ static int(ZEXPORT *utilGzReadFunc)(gzFile, voidp, unsigned int) = NULL;
|
||||||
static int(ZEXPORT *utilGzCloseFunc)(gzFile) = NULL;
|
static int(ZEXPORT *utilGzCloseFunc)(gzFile) = NULL;
|
||||||
static z_off_t(ZEXPORT *utilGzSeekFunc)(gzFile, z_off_t, int) = NULL;
|
static z_off_t(ZEXPORT *utilGzSeekFunc)(gzFile, z_off_t, int) = NULL;
|
||||||
|
|
||||||
#define MAX_CART_SIZE 0x2000000 // 32MB
|
#define MAX_CART_SIZE 0x8000000 // 128MB
|
||||||
|
|
||||||
bool FileExists(const char *filename)
|
bool FileExists(const char *filename)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue