diff options
Diffstat (limited to 'src/mame/drivers/yunsun16.cpp')
-rw-r--r-- | src/mame/drivers/yunsun16.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/yunsun16.cpp b/src/mame/drivers/yunsun16.cpp index 687f508ef94..85ca0e9906b 100644 --- a/src/mame/drivers/yunsun16.cpp +++ b/src/mame/drivers/yunsun16.cpp @@ -623,7 +623,7 @@ MACHINE_CONFIG_START(yunsun16_state::magicbub) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.80) - MCFG_OKIM6295_ADD("oki", XTAL(16'000'000)/16, PIN7_HIGH) + MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(16'000'000)/16, okim6295_device::PIN7_HIGH) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.80) MACHINE_CONFIG_END @@ -656,7 +656,7 @@ MACHINE_CONFIG_START(yunsun16_state::shocking) /* sound hardware */ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") - MCFG_OKIM6295_ADD("oki", XTAL(16'000'000)/16, PIN7_HIGH) + MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(16'000'000)/16, okim6295_device::PIN7_HIGH) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) MCFG_DEVICE_ADDRESS_MAP(0, oki_map) |