Updated overlay pack. Updated .int files to auto-detect CC3 .rom format.

This commit is contained in:
Dave Bernazzani 2024-02-10 07:42:32 -05:00
parent 42e0af06dd
commit 9ac9c62e90
4 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ include $(DEVKITARM)/ds_rules
export TARGET := NINTV-DS
export TOPDIR := $(CURDIR)
export VERSION := 4.9
export VERSION := 4.9a
ICON := -b $(CURDIR)/logo.bmp "NINTV-DS $(VERSION);wavemotion-dave;https://github.com/wavemotion-dave/NINTV-DS"

Binary file not shown.

View File

@ -101,7 +101,8 @@ BOOL LoadCart(const CHAR* filename)
FatalError("BIN FILE DOES NOT EXIST");
return FALSE;
}
if (fgetc(file) == 0xA8) bIsROM = true;
u8 firstByte = fgetc(file);
if ((firstByte == 0xA8) || (firstByte == 0x41)) bIsROM = true; // We accept eitehr ICART (0xA8) or CC3 (0x41) as proof that this is probably a ROM file
fclose(file);
}

Binary file not shown.