summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ts802.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ts802.cpp')
-rw-r--r--src/mame/drivers/ts802.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/ts802.cpp b/src/mame/drivers/ts802.cpp
index e014e70e80e..5af715a55f1 100644
--- a/src/mame/drivers/ts802.cpp
+++ b/src/mame/drivers/ts802.cpp
@@ -39,7 +39,7 @@ public:
, m_terminal(*this, "terminal")
{ }
- DECLARE_DRIVER_INIT(ts802);
+ void init_ts802();
DECLARE_MACHINE_RESET(ts802);
DECLARE_READ8_MEMBER(port00_r) { return 0x80; };
DECLARE_READ8_MEMBER(port0c_r) { return 1; };
@@ -173,7 +173,7 @@ static const z80_daisy_config daisy_chain_intf[] =
};
#endif
-DRIVER_INIT_MEMBER( ts802_state, ts802 )
+void ts802_state::init_ts802()
{
m_mem = &m_maincpu->space(AS_PROGRAM);
m_io = &m_maincpu->space(AS_IO);
@@ -240,6 +240,6 @@ ROM_END
/* Driver */
-// YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS
-COMP( 1982, ts802, 0, 0, ts802, ts802, ts802_state, ts802, "Televideo", "TS802", MACHINE_IS_SKELETON )
-COMP( 1982, ts802h, ts802, 0, ts802, ts802, ts802_state, ts802, "Televideo", "TS802H", MACHINE_IS_SKELETON )
+// YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS
+COMP( 1982, ts802, 0, 0, ts802, ts802, ts802_state, init_ts802, "Televideo", "TS802", MACHINE_IS_SKELETON )
+COMP( 1982, ts802h, ts802, 0, ts802, ts802, ts802_state, init_ts802, "Televideo", "TS802H", MACHINE_IS_SKELETON )