summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tx0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tx0.cpp')
-rw-r--r--src/mame/drivers/tx0.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tx0.cpp b/src/mame/drivers/tx0.cpp
index 5df826286c0..e8c31079c02 100644
--- a/src/mame/drivers/tx0.cpp
+++ b/src/mame/drivers/tx0.cpp
@@ -1567,10 +1567,10 @@ MACHINE_CONFIG_START(tx0_state::tx0_64kw)
MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, tx0_state, screen_vblank_tx0))
MCFG_SCREEN_PALETTE("palette")
- MCFG_DEVICE_ADD("crt", CRT, 0)
- MCFG_CRT_NUM_LEVELS(pen_crt_num_levels)
- MCFG_CRT_OFFSETS(crt_window_offset_x, crt_window_offset_y)
- MCFG_CRT_SIZE(crt_window_width, crt_window_height)
+ CRT(config, m_crt, 0);
+ m_crt->set_num_levels(pen_crt_num_levels);
+ m_crt->set_offsets(crt_window_offset_x, crt_window_offset_y);
+ m_crt->set_size(crt_window_width, crt_window_height);
MCFG_DEVICE_ADD("readt", TX0_READTAPE, 0)
MCFG_DEVICE_ADD("punch", TX0_PUNCHTAPE, 0)