mirror of https://github.com/snes9xgit/snes9x.git
Apply SafeString to ROMName here as well.
This commit is contained in:
parent
24d91f016c
commit
24db4e6e90
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue