mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
(MESS) vii.c: Fixed batmantv regression (nw)
This commit is contained in:
parent
35fd857290
commit
ffd7f21077
@ -1009,9 +1009,9 @@ void vii_state::machine_start()
|
||||
m_controller_input[6] = 0xff;
|
||||
m_controller_input[7] = 0;
|
||||
|
||||
UINT8 *rom = m_region_cart->base();
|
||||
if (rom)
|
||||
{ // to prevent batman crash
|
||||
if ( m_region_cart )
|
||||
{
|
||||
UINT8 *rom = m_region_cart->base();
|
||||
memcpy(m_p_cart, rom + 0x4000*2, (0x400000 - 0x4000) * 2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user