Commit 3ac9c76b authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Take out some __LIBRETRO__ ifdefs - repo solely dedicated to

libretro
parent de91c580
......@@ -1756,8 +1756,6 @@ void map_WriteProtectROM (void)
MAP_WRAM(); \
map_WriteProtectROM();
#ifdef __LIBRETRO__
static const char * KartContents (uint8 ROMType)
{
static char str[64];
......@@ -1816,8 +1814,6 @@ static const char * KartContents (uint8 ROMType)
return (str);
}
#endif
static void Map_NoMAD1LoROMMap (void)
{
printf("Map_NoMAD1LoROMMap\n");
......@@ -3423,15 +3419,9 @@ void InitROM (void)
sprintf(Memory.ROMName, "%s", Safe(Memory.ROMName));
sprintf(Memory.ROMId, "%s", Safe(Memory.ROMId));
#ifndef __LIBRETRO__
sprintf(String, "\"%s\" [%s] ID:%s",
displayName, isChecksumOK ? "checksum ok" : ((Multi.cartType == 4) ? "no checksum" : "bad checksum"),
Memory.ROMId);
#else
sprintf(String, "\"%s\" [%s] %s, %s, %s, %s, SRAM:%s, ID:%s, CRC32:%08X",
displayName, isChecksumOK ? "checksum ok" : ((Multi.cartType == 4) ? "no checksum" : "bad checksum"),
(Memory.HiROM ? ((Memory.ExtendedFormat != NOPE) ? "ExHiROM": "HiROM") : "LoROM"), Size(), KartContents(Memory.ROMType), Settings.PAL ? "PAL" : "NTSC", StaticRAMSize(), Memory.ROMId, Memory.ROMCRC32);
#endif
S9xMessage(S9X_INFO, S9X_ROM_INFO, String);
Settings.ForceLoROM = FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment