Previous 199869 Revisions Next

r21702 Friday 8th March, 2013 at 10:47:33 UTC by Miodrag Milanović
compile fix (nw)
[src/mess/machine]snescart.c

trunk/src/mess/machine/snescart.c
r21701r21702
643643DEVICE_IMAGE_LOAD_MEMBER( snes_state,snes_cart )
644644{
645645   int supported_type = 1;
646   int has_bsx_slot = 0, st_bios = 0;
646   int has_bsx_slot = 0;//, st_bios = 0;
647647   UINT32 offset, int_header_offs;
648648   UINT8 *ROM = memregion("cart")->base();
649649
r21701r21702
723723   if (!memcmp(ROM, "BANDAI SFC-ADX", 14))
724724   {
725725      m_cart[0].mode = SNES_MODE_ST;
726      if (!memcmp(ROM + 16, "SFC-ADX BACKUP", 14))
727         st_bios = 1;
726      //if (!memcmp(ROM + 16, "SFC-ADX BACKUP", 14))
727         //st_bios = 1;
728728   }
729729
730730   if (SNES_CART_DEBUG) mame_printf_error("mode %d\n", m_cart[0].mode);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team