Apply SafeString to ROMName here as well.

This commit is contained in:
BearOso 2023-03-15 15:02:08 -05:00
parent 24d91f016c
commit 24db4e6e90
1 changed files with 2 additions and 1 deletions

View File

@ -2426,8 +2426,9 @@ void CMemory::InitROM (void)
ROMId[4] = 0;
strcpy(ROMId, SafeString(ROMId).c_str());
sprintf(String, "\"%s\" [%s] %s, %s, %s, %s, SRAM:%s, ID:%s, CRC32:%08X",
ROMName, isChecksumOK ? "checksum ok" : ((Multi.cartType == 4) ? "no checksum" : "bad checksum"),
SafeString(ROMName).c_str(), isChecksumOK ? "checksum ok" : ((Multi.cartType == 4) ? "no checksum" : "bad checksum"),
MapType(), Size(), KartContents(), Settings.PAL ? "PAL" : "NTSC", StaticRAMSize(), ROMId, ROMCRC32);
S9xMessage(S9X_INFO, S9X_ROM_INFO, String);