From 351e33cdbff9958b5f1da903bb3e2340059e7c76 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Fri, 29 Jul 2016 14:15:14 +1000 Subject: [PATCH] Fixed validation error with teletypewriter. --- src/devices/machine/terminal.cpp | 2 +- src/mame/machine/teleprinter.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/devices/machine/terminal.cpp b/src/devices/machine/terminal.cpp index b4d0d4b6c4a..15a7897e816 100644 --- a/src/devices/machine/terminal.cpp +++ b/src/devices/machine/terminal.cpp @@ -337,7 +337,7 @@ static MACHINE_CONFIG_FRAGMENT( generic_terminal ) MCFG_SPEAKER_STANDARD_MONO("bell") MCFG_SOUND_ADD("beeper", BEEP, 2'000) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 1.0) + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 0.50) MACHINE_CONFIG_END machine_config_constructor generic_terminal_device::device_mconfig_additions() const diff --git a/src/mame/machine/teleprinter.cpp b/src/mame/machine/teleprinter.cpp index 1c72a536883..92ac0a9b526 100644 --- a/src/mame/machine/teleprinter.cpp +++ b/src/mame/machine/teleprinter.cpp @@ -217,6 +217,10 @@ MACHINE_CONFIG_FRAGMENT( generic_teleprinter ) MCFG_SCREEN_UPDATE_DEVICE(DEVICE_SELF, teleprinter_device, tp_update) MCFG_DEVICE_ADD(KEYBOARD_TAG, GENERIC_KEYBOARD, 0) MCFG_GENERIC_KEYBOARD_CB(WRITE8(generic_terminal_device, kbd_put)) + + MCFG_SPEAKER_STANDARD_MONO("bell") + MCFG_SOUND_ADD("beeper", BEEP, 2'000) + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 0.50) MACHINE_CONFIG_END machine_config_constructor teleprinter_device::device_mconfig_additions() const