summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/istellar.cpp
diff options
context:
space:
mode:
author MooglyGuy <therealmogminer@gmail.com>2019-07-02 20:30:21 +0200
committer MooglyGuy <therealmogminer@gmail.com>2019-07-02 20:30:37 +0200
commitb6ce2e16d867b21119ce36f6e108d0866f396089 (patch)
tree16c3b1bfd5d9011b366ded7f10baef32c440651c /src/mame/drivers/istellar.cpp
parent0b8733206a1f6d3c931171c18f2200b2eb5a2b87 (diff)
-core: Removed almost all MCFG defines, and removed all remaining MACHINE_CONFIG_START/END uses. [Ryan Holtz]
Diffstat (limited to 'src/mame/drivers/istellar.cpp')
-rw-r--r--src/mame/drivers/istellar.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/istellar.cpp b/src/mame/drivers/istellar.cpp
index ee0b0555d17..f31809d82d2 100644
--- a/src/mame/drivers/istellar.cpp
+++ b/src/mame/drivers/istellar.cpp
@@ -273,7 +273,8 @@ WRITE_LINE_MEMBER(istellar_state::vblank_irq)
/* DRIVER */
-MACHINE_CONFIG_START(istellar_state::istellar)
+void istellar_state::istellar(machine_config &config)
+{
/* main cpu */
Z80(config, m_maincpu, GUESSED_CLOCK);
m_maincpu->set_addrmap(AS_PROGRAM, &istellar_state::z80_0_mem);
@@ -302,7 +303,7 @@ MACHINE_CONFIG_START(istellar_state::istellar)
m_laserdisc->add_route(1, "rspeaker", 1.0);
/* video hardware */
- MCFG_LASERDISC_SCREEN_ADD_NTSC("screen", "laserdisc")
+ m_laserdisc->add_ntsc_screen(config, "screen");
subdevice<screen_device>("screen")->screen_vblank().set(FUNC(istellar_state::vblank_irq));
// Daphne says "TODO: get the real interstellar resistor values"
@@ -313,7 +314,7 @@ MACHINE_CONFIG_START(istellar_state::istellar)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
-MACHINE_CONFIG_END
+}
/* There is a photo of the PCB with blurry IC locations and labels. Comments reflect what I can (barely) see. */