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:
Rafael Kitover 2022-12-16 16:35:15 +00:00
parent f8c1d31294
commit 22578d02eb
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{ {