Previous 199869 Revisions Next

r44435 Monday 25th January, 2016 at 00:25:27 UTC by David Haywood
regression fixes (nw)
[src/mame/drivers]bfm_sc2.cpp segas16b.cpp

trunk/src/mame/drivers/bfm_sc2.cpp
r252946r252947
22842284
22852285void bfm_sc2_state::adder2_common_init()
22862286{
2287   UINT8 *pal;
2288
2289   pal = memregion("proms")->base();
2290   if ( pal )
2287   if (memregion("proms") != nullptr)
22912288   {
2289      UINT8 *pal;
2290      pal = memregion("proms")->base();
22922291      memcpy(m_key, pal, 8);
22932292   }
22942293}
trunk/src/mame/drivers/segas16b.cpp
r252946r252947
82428242   DRIVER_INIT_CALL(generic_5358_small);
82438243   m_custom_io_r = read16_delegate(FUNC(segas16b_state::sdi_custom_io_r), this);
82448244
8245   UINT8 *rom = memregion("maincpux")->base();
8246   if (rom)
8245   if (memregion("maincpux") != nullptr)
8246   {
8247      UINT8 *rom = memregion("maincpux")->base();
82478248      memcpy(m_decrypted_opcodes, rom, 0x30000);
8249   }
82488250}
82498251
82508252


Previous 199869 Revisions Next


© 1997-2024 The MAME Team