X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffile.cpp;h=ac81a06dd2d1b1409cc855c86b4cde52fc8ea576;hb=f7b2692b338aaf37470be0a1d0e5ae42c82e0c65;hp=dff0c55a062154366ee50b68191c0ebdfb397a3f;hpb=04a4d0db6f20955f132491173c4ec8e11d1e5de1;p=virtualjaguar diff --git a/src/file.cpp b/src/file.cpp index dff0c55..ac81a06 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -223,6 +223,11 @@ WriteLog("FILE: Cartridge run address is reported as $%X...\n", jaguarRunAddress memcpy(jagMemSpace + loadAddress, buffer + 0x2E, jaguarROMSize - 0x2E); delete[] buffer; jaguarRunAddress = runAddress; + +// Hmm. Is this kludge necessary? +SET32(jaguarMainRAM, 0x10, 0x00001000); // Set Exception #4 (Illegal Instruction) +SET16(jaguarMainRAM, 0x1000, 0x60FE); // Here: bra Here + return true; // } // else // Special WTFOMGBBQ type here...