X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffile.cpp;h=acf90d6f64bff6b61e106258b288b959d9822039;hb=10f249cb763ddc00cd80e1d47940784e25d3e4a7;hp=7fd96ef59edaad467be216dbc7e9875928aac9c7;hpb=e285d9bb9ae73f64443fa4add30119dc422c4d08;p=virtualjaguar diff --git a/src/file.cpp b/src/file.cpp index 7fd96ef..acf90d6 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -2,10 +2,10 @@ // FILE.CPP // // File support -// by James L. Hammons +// by James Hammons // (C) 2010 Underground Software // -// JLH = James L. Hammons +// JLH = James Hammons // // Who When What // --- ---------- ------------------------------------------------------------- @@ -217,7 +217,7 @@ bool AlpineLoadFile(char * path) // Maybe instead of this, we could try requiring the STUBULATOR ROM? Just a thought... // Try setting the vector to say, $1000 and putting an instruction there that loops forever: // This kludge works! Yeah! - SET32(jaguarMainRAM, 0x10, 0x00001000); + SET32(jaguarMainRAM, 0x10, 0x00001000); // Set Exception #4 (Illegal Instruction) SET16(jaguarMainRAM, 0x1000, 0x60FE); // Here: bra Here return true; @@ -307,7 +307,8 @@ uint32 GetFileFromZIP(const char * zipFile, FileType type, uint8 * &buffer) if ((type == FT_SOFTWARE) && (CheckExtension(ze->name, ".j64") || CheckExtension(ze->name, ".rom") || CheckExtension(ze->name, ".abs") - || CheckExtension(ze->name, ".cof") || CheckExtension(ze->name, ".jag"))) + || CheckExtension(ze->name, ".cof") || CheckExtension(ze->name, ".coff") + || CheckExtension(ze->name, ".jag"))) { found = true; WriteLog("FILE: Found software file '%s'.\n", ze->name);