Previous 199869 Revisions Next

r33608 Monday 1st December, 2014 at 15:15:47 UTC by David Haywood
here too, there are probably more cases of this too (nw)
[src/mame/drivers]thedeep.c

trunk/src/mame/drivers/thedeep.c
r242119r242120
8787         m_rombank = new_rombank;
8888         rom = memregion("maincpu")->base();
8989         membank("bank1")->set_base(rom + 0x10000 + m_rombank * 0x4000);
90         /* there's code which falls through from the fixed ROM to bank #1, I have to */
91         /* copy it there otherwise the CPU bank switching support will not catch it. */
92         memcpy(rom + 0x08000, rom + 0x10000 + m_rombank * 0x4000, 0x4000);
90
9391      }
9492      break;
9593
r242119r242120
197195   m_rombank = new_rombank;
198196   rom = memregion("maincpu")->base();
199197   membank("bank1")->set_base(rom + 0x10000 + m_rombank * 0x4000);
200   /* there's code which falls through from the fixed ROM to bank #1, I have to */
201   /* copy it there otherwise the CPU bank switching support will not catch it. */
202   memcpy(rom + 0x08000, rom + 0x10000 + m_rombank * 0x4000, 0x4000);
203198
204199}
205200


Previous 199869 Revisions Next


© 1997-2024 The MAME Team