diff options
Diffstat (limited to 'src/mame/machine/pc9801_118.cpp')
-rw-r--r-- | src/mame/machine/pc9801_118.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/mame/machine/pc9801_118.cpp b/src/mame/machine/pc9801_118.cpp index fec79eedb75..1681dfe5df4 100644 --- a/src/mame/machine/pc9801_118.cpp +++ b/src/mame/machine/pc9801_118.cpp @@ -46,7 +46,11 @@ WRITE_LINE_MEMBER(pc9801_118_device::pc9801_sound_irq) machine().device<pic8259_device>(":pic8259_slave")->ir4_w(state); } -static MACHINE_CONFIG_START( pc9801_118_config ) +//------------------------------------------------- +// device_add_mconfig - add device configuration +//------------------------------------------------- + +MACHINE_CONFIG_MEMBER( pc9801_118_device::device_add_mconfig ) MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SOUND_ADD("opn3", YM2608, MAIN_CLOCK_X2*4) // actually YMF288, unknown clock / divider, might be X1 x 5 actually MCFG_YM2608_IRQ_HANDLER(WRITELINE(pc9801_118_device, pc9801_sound_irq)) @@ -57,16 +61,6 @@ static MACHINE_CONFIG_START( pc9801_118_config ) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) MACHINE_CONFIG_END -//------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations -//------------------------------------------------- - -machine_config_constructor pc9801_118_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( pc9801_118_config ); -} - //------------------------------------------------- // input_ports - device-specific input ports |