memmap: Report if ROM is patched instead of "bad checksum."

This commit is contained in:
BearOso 2023-04-26 16:26:44 -05:00
parent 7f032e5234
commit a74769c194

View File

@ -2434,7 +2434,13 @@ void CMemory::InitROM (void)
sprintf(String, "\"%s\" [%s] %s, %s, %s, %s, SRAM:%s, ID:%s, CRC32:%08X",
SafeString(ROMName).c_str(), isChecksumOK ? "checksum ok" : ((Multi.cartType == 4) ? "no checksum" : "bad checksum"),
SafeString(ROMName).c_str(),
isChecksumOK ? "checksum ok"
: Settings.IsPatched == 3 ? "UPS Patched"
: Settings.IsPatched == 2 ? "BPS Patched"
: Settings.IsPatched == 1 ? "IPS Patched"
: ((Multi.cartType == 4) ? "no checksum"
: "bad checksum"),
MapType(), Size(), KartContents(), Settings.PAL ? "PAL" : "NTSC", StaticRAMSize(), ROMId, ROMCRC32);
S9xMessage(S9X_INFO, S9X_ROM_INFO, String);