mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
fixed famitwin bios usage. nw.
This commit is contained in:
parent
8e9be6bbf5
commit
488c57a9e0
@ -794,7 +794,13 @@ MACHINE_START_MEMBER( nes_state, famitwin )
|
|||||||
|
|
||||||
// if there is no cart inserted, setup the disk expansion instead
|
// if there is no cart inserted, setup the disk expansion instead
|
||||||
if (!m_cartslot->m_cart)
|
if (!m_cartslot->m_cart)
|
||||||
|
{
|
||||||
setup_disk(m_cartslot2);
|
setup_disk(m_cartslot2);
|
||||||
|
|
||||||
|
// replace the famicom disk ROM with the famicom twin one (until we modernize the floppy drive)
|
||||||
|
m_maincpu->space(AS_PROGRAM).install_read_bank(0xe000, 0xffff, "ftbios");
|
||||||
|
membank("ftbios")->set_base(machine().root_device().memregion("maincpu")->base() + 0xe000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MACHINE_RESET_MEMBER( nes_state, famitwin )
|
MACHINE_RESET_MEMBER( nes_state, famitwin )
|
||||||
|
Loading…
Reference in New Issue
Block a user