From c9fcb5d33e15ddb43ecf5c60e0f67528a3ea3795 Mon Sep 17 00:00:00 2001 From: Ted Green Date: Mon, 3 Sep 2018 12:23:26 -0600 Subject: Fixups (nw) --- src/devices/machine/gt64xxx.h | 2 +- src/mame/drivers/seattle.cpp | 24 ++++++++++++------------ src/mame/drivers/vegas.cpp | 24 ++++++++++++------------ 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/devices/machine/gt64xxx.h b/src/devices/machine/gt64xxx.h index d1962514177..12201b7b11a 100644 --- a/src/devices/machine/gt64xxx.h +++ b/src/devices/machine/gt64xxx.h @@ -22,7 +22,7 @@ class gt64xxx_device : public pci_host_device { public: template gt64xxx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, T &&cpu_tag, int irq_num) - : gt64xxx_device(mconfig, type, const char *tag, owner, clock) + : gt64xxx_device(mconfig, type, tag, owner, clock) { set_cpu_tag(std::forward(cpu_tag)); set_irq_num(irq_num); diff --git a/src/mame/drivers/seattle.cpp b/src/mame/drivers/seattle.cpp index 4e4286b38cc..4f8ee38e8fd 100644 --- a/src/mame/drivers/seattle.cpp +++ b/src/mame/drivers/seattle.cpp @@ -1992,7 +1992,7 @@ MACHINE_CONFIG_START(seattle_state::wg3dh) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x3839); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD); m_ioasic->set_upper(310/* others? */); m_ioasic->set_yearoffs(80); @@ -2006,7 +2006,7 @@ MACHINE_CONFIG_START(seattle_state::mace) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x3839); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_MACE); m_ioasic->set_upper(319/* others? */); m_ioasic->set_yearoffs(80); @@ -2019,7 +2019,7 @@ MACHINE_CONFIG_START(seattle_state::sfrush) cage.set_speedup(0x5236); cage.irq_handler().set(m_ioasic, FUNC(midway_ioasic_device::cage_irq_handler)); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD); m_ioasic->set_upper(315/* no alternates */); m_ioasic->set_yearoffs(100); @@ -2033,7 +2033,7 @@ MACHINE_CONFIG_START(seattle_state::sfrushrk) cage.set_speedup(0x5329); cage.irq_handler().set(m_ioasic, FUNC(midway_ioasic_device::cage_irq_handler)); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_SFRUSHRK); m_ioasic->set_upper(331/* unknown */); m_ioasic->set_yearoffs(100); @@ -2052,7 +2052,7 @@ MACHINE_CONFIG_START(seattle_state::calspeed) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x39c0); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_CALSPEED); m_ioasic->set_upper(328/* others? */); m_ioasic->set_yearoffs(100); @@ -2066,7 +2066,7 @@ MACHINE_CONFIG_START(seattle_state::vaportrx) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x39c2); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_VAPORTRX); m_ioasic->set_upper(324/* 334? unknown */); m_ioasic->set_yearoffs(100); @@ -2079,7 +2079,7 @@ MACHINE_CONFIG_START(seattle_state::biofreak) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x3835); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD); m_ioasic->set_upper(231/* no alternates */); m_ioasic->set_yearoffs(80); @@ -2092,7 +2092,7 @@ MACHINE_CONFIG_START(seattle_state::blitz) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x39c2); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_BLITZ99); m_ioasic->set_upper(444/* or 528 */); m_ioasic->set_yearoffs(80); @@ -2105,7 +2105,7 @@ MACHINE_CONFIG_START(seattle_state::blitz99) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x0afb); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_BLITZ99); m_ioasic->set_upper(481/* or 484 or 520 */); m_ioasic->set_yearoffs(80); @@ -2118,7 +2118,7 @@ MACHINE_CONFIG_START(seattle_state::blitz2k) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_BLITZ99); m_ioasic->set_upper(494/* or 498 */); m_ioasic->set_yearoffs(80); @@ -2131,7 +2131,7 @@ MACHINE_CONFIG_START(seattle_state::carnevil) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x0af7); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_CARNEVIL); m_ioasic->set_upper(469/* 469 or 486 or 528 */); m_ioasic->set_yearoffs(80); @@ -2144,7 +2144,7 @@ MACHINE_CONFIG_START(seattle_state::hyprdriv) dcs.set_dram_in_mb(2); dcs.set_polling_offset(0x0af7); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_HYPRDRIV); m_ioasic->set_upper(469/* unknown */); m_ioasic->set_yearoffs(80); diff --git a/src/mame/drivers/vegas.cpp b/src/mame/drivers/vegas.cpp index 40c2f46e4fb..2f118f8bebd 100644 --- a/src/mame/drivers/vegas.cpp +++ b/src/mame/drivers/vegas.cpp @@ -1880,7 +1880,7 @@ MACHINE_CONFIG_START(vegas_state::gauntleg) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_CALSPEED); m_ioasic->set_upper(340/* 340=39", 322=27", others? */); m_ioasic->set_yearoffs(80); @@ -1894,7 +1894,7 @@ MACHINE_CONFIG_START(vegas_state::gauntdl) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_GAUNTDL); m_ioasic->set_upper(346/* 347, others? */); m_ioasic->set_yearoffs(80); @@ -1908,7 +1908,7 @@ MACHINE_CONFIG_START(vegas_state::warfa) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_MACE); m_ioasic->set_upper(337/* others? */); m_ioasic->set_yearoffs(80); @@ -1922,7 +1922,7 @@ MACHINE_CONFIG_START(vegas_state::tenthdeg) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0afb); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_GAUNTDL); m_ioasic->set_upper(330/* others? */); m_ioasic->set_yearoffs(80); @@ -1936,7 +1936,7 @@ MACHINE_CONFIG_START(vegas_state::roadburn) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0ddd); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD); m_ioasic->set_upper(325/* others? */); m_ioasic->set_yearoffs(80); @@ -1950,7 +1950,7 @@ MACHINE_CONFIG_START(vegas_state::nbashowt) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_MACE); // 528 494 478 development pic, 487 NBA m_ioasic->set_upper(487/* or 478 or 487 */); @@ -1966,7 +1966,7 @@ MACHINE_CONFIG_START(vegas_state::nbanfl) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_BLITZ99); m_ioasic->set_upper(498/* or 478 or 487 */); m_ioasic->set_yearoffs(80); @@ -1981,7 +1981,7 @@ MACHINE_CONFIG_START(vegas_state::nbagold) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_GAUNTDL); m_ioasic->set_upper(494 /* 494 109 ??? */); m_ioasic->set_yearoffs(80); @@ -1996,7 +1996,7 @@ MACHINE_CONFIG_START(vegas_state::sf2049) dcs.set_dram_in_mb(8); dcs.set_polling_offset(0x872); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD); m_ioasic->set_upper(336/* others? */); m_ioasic->set_yearoffs(80); @@ -2011,7 +2011,7 @@ MACHINE_CONFIG_START(vegas_state::sf2049se) dcs.set_dram_in_mb(8); dcs.set_polling_offset(0x872); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_SFRUSHRK); m_ioasic->set_upper(352/*352 336 others? */); m_ioasic->set_yearoffs(80); @@ -2026,7 +2026,7 @@ MACHINE_CONFIG_START(vegas_state::sf2049te) dcs.set_dram_in_mb(8); dcs.set_polling_offset(0x872); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_SFRUSHRK); m_ioasic->set_upper(348/* 348 others? */); m_ioasic->set_yearoffs(80); @@ -2041,7 +2041,7 @@ MACHINE_CONFIG_START(vegas_state::cartfury) dcs.set_dram_in_mb(4); dcs.set_polling_offset(0x0b5d); - midway_ioasic_device &ioasic(MIDWAY_IOASIC(config, m_ioasic, 0)); + MIDWAY_IOASIC(config, m_ioasic, 0); m_ioasic->set_shuffle(MIDWAY_IOASIC_CARNEVIL); // 433, 495 Development PIC m_ioasic->set_upper(495/*433, 495 others? */); -- cgit v1.2.3