summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/terminal.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-06-02 08:46:37 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-06-02 08:46:37 +0200
commitdc7eec650a98a1d89690bdd67f0d2e3fd8f10893 (patch)
tree5e0abbe3c138ef5c2139df9506c539c520a45a3f /src/devices/machine/terminal.cpp
parent9881020929083b49eeb740471863b350273c2200 (diff)
some more device_add_mconfig. Only devices/bus remains. (nw)
Diffstat (limited to 'src/devices/machine/terminal.cpp')
-rw-r--r--src/devices/machine/terminal.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/machine/terminal.cpp b/src/devices/machine/terminal.cpp
index 76228778303..4354c5ddb51 100644
--- a/src/devices/machine/terminal.cpp
+++ b/src/devices/machine/terminal.cpp
@@ -328,7 +328,7 @@ void generic_terminal_device::kbd_put(u8 data)
VIDEO HARDWARE
***************************************************************************/
-static MACHINE_CONFIG_START( generic_terminal )
+MACHINE_CONFIG_MEMBER( generic_terminal_device::device_add_mconfig )
MCFG_SCREEN_ADD_MONOCHROME(TERMINAL_SCREEN_TAG, RASTER, rgb_t::white())
MCFG_SCREEN_REFRESH_RATE(50)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
@@ -346,11 +346,6 @@ static MACHINE_CONFIG_START( generic_terminal )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bell", 0.50)
MACHINE_CONFIG_END
-machine_config_constructor generic_terminal_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME(generic_terminal);
-}
-
void generic_terminal_device::device_start()
{
m_buffer = std::make_unique<uint8_t []>(m_width * m_height);