Previous 199869 Revisions Next

r32753 Tuesday 14th October, 2014 at 20:12:55 UTC by Fabio Priuli
I don't think these are really needed, but let's try to use more parentheses ;) nw.
[src/emu/bus/pce]pce_slot.c

trunk/src/emu/bus/pce/pce_slot.c
r32752r32753
305305      type = PCE_SF2;
306306
307307   /* Check for Populous */
308   if (len >= 0x1f26 + 8 && !memcmp(ROM + 0x1f26, "POPULOUS", 8))
308   if (len >= (0x1f26 + 8) && !memcmp(ROM + 0x1f26, "POPULOUS", 8))
309309      type = PCE_POPULOUS;
310310
311311   // Check for CD system card v3 which adds on-cart RAM to the system
312   if (len >= 0x3ffb6 + 23 && !memcmp(ROM + 0x3ffb6, "PC Engine CD-ROM SYSTEM", 23))
312   if (len >= (0x3ffb6 + 23) && !memcmp(ROM + 0x3ffb6, "PC Engine CD-ROM SYSTEM", 23))
313313   {
314314      /* Check if 192KB additional system card ram should be used */
315315      if (!memcmp(ROM + 0x29d1, "VER. 3.", 7))         { type = PCE_CDSYS3J; } // JP version

Previous 199869 Revisions Next


© 1997-2024 The MAME Team