mirror of
https://github.com/holub/mame
synced 2025-06-18 18:28:57 +03:00
misc: remove unneeded calls to driver_device
This commit is contained in:
parent
1f1451dfa9
commit
7edbd5bf42
@ -426,7 +426,7 @@ void liberatr_state::liberatr(machine_config &config)
|
||||
/* basic machine hardware */
|
||||
m6502_device &maincpu(M6502(config, "maincpu", MASTER_CLOCK/16)); /* 1.25Mhz divided from 20Mhz master clock */
|
||||
maincpu.set_addrmap(AS_PROGRAM, &liberatr_state::liberatr_map);
|
||||
maincpu.set_periodic_int(FUNC(driver_device::irq0_line_hold), attotime::from_hz(4*60));
|
||||
maincpu.set_periodic_int(FUNC(liberatr_state::irq0_line_hold), attotime::from_hz(4*60));
|
||||
|
||||
ER2055(config, m_earom);
|
||||
|
||||
|
@ -124,7 +124,6 @@ void gscpm_state::switch_to_ram_w(uint8_t data)
|
||||
|
||||
void gscpm_state::machine_reset()
|
||||
{
|
||||
driver_device::machine_reset();
|
||||
// Install the ROM handler here
|
||||
m_maincpu->space(AS_PROGRAM).unmap_readwrite(0x0000, 0x3fff); // Unmap RAM handler if being rebooted
|
||||
m_maincpu->space(AS_PROGRAM).install_rom(0x0000, 0x3fff, memregion("maincpu")->base());
|
||||
|
@ -511,7 +511,7 @@ void notechan_state::notechan(machine_config &config)
|
||||
Z80(config, m_maincpu, CPU_CLOCK); // unknown...
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, ¬echan_state::notechan_map);
|
||||
m_maincpu->set_addrmap(AS_IO, ¬echan_state::notechan_port_map);
|
||||
m_maincpu->set_periodic_int(FUNC(driver_device::irq0_line_hold), attotime::from_hz(60));
|
||||
m_maincpu->set_periodic_int(FUNC(notechan_state::irq0_line_hold), attotime::from_hz(60));
|
||||
|
||||
/* NO VIDEO */
|
||||
|
||||
|
@ -243,8 +243,6 @@ void mc10_state::driver_reset()
|
||||
|
||||
void mc10_state::driver_start()
|
||||
{
|
||||
driver_device::driver_start();
|
||||
|
||||
save_item(NAME(m_keyboard_strobe));
|
||||
|
||||
address_space &space = m_maincpu->space(AS_PROGRAM);
|
||||
@ -259,8 +257,6 @@ void mc10_state::driver_start()
|
||||
|
||||
void alice32_state::driver_start()
|
||||
{
|
||||
driver_device::driver_start();
|
||||
|
||||
save_item(NAME(m_keyboard_strobe));
|
||||
|
||||
address_space &space = m_maincpu->space(AS_PROGRAM);
|
||||
|
Loading…
Reference in New Issue
Block a user