Base/BIOS carts can now be JMA compressed.

This commit is contained in:
n-a-c-h
2004-11-23 00:33:17 +00:00
parent 803f62ceeb
commit 1c7223557d

View File

@@ -663,7 +663,11 @@ void SplitSetup(char *basepath, char *basefile, unsigned int MirrorSystem)
{
unsigned int pathlen = strlen(basepath);
char *ext = basepath+pathlen-4;
if (pathlen >= 5 && !strcasecmp(ext, ".zip"))
if (pathlen >= 5 && !strcasecmp(ext, ".jma"))
{
load_jma_file(basepath);
}
else if (pathlen >= 5 && !strcasecmp(ext, ".zip"))
{
loadZipFile(basepath);
}