From c43242448aa82769dd7a0347ec7dcb76b754a6ef Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Wed, 11 Jul 2012 10:31:29 -0500 Subject: [PATCH] Fixed cartridge run address. Fixed the cartridge run address to get it from the cartridge itself instead of assuming that it should be $802000. --- src/file.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/file.cpp b/src/file.cpp index 5674abf..dff0c55 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -135,6 +135,9 @@ bool JaguarLoadFile(char * path) { jaguarCartInserted = true; memcpy(jagMemSpace + 0x800000, buffer, jaguarROMSize); +// Checking something... +jaguarRunAddress = GET32(jagMemSpace, 0x800404); +WriteLog("FILE: Cartridge run address is reported as $%X...\n", jaguarRunAddress); delete[] buffer; return true; } -- 2.37.2