diff options
Diffstat (limited to 'src/mame/drivers/ti630.cpp')
-rw-r--r-- | src/mame/drivers/ti630.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/ti630.cpp b/src/mame/drivers/ti630.cpp index 282f29a49e9..5bad9cc3560 100644 --- a/src/mame/drivers/ti630.cpp +++ b/src/mame/drivers/ti630.cpp @@ -136,12 +136,12 @@ GFXDECODE_END MACHINE_CONFIG_START(ti630_state::ti630) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", I80C31, XTAL(10'000'000)) - MCFG_CPU_PROGRAM_MAP(i80c31_prg) - MCFG_CPU_IO_MAP(i80c31_io) - MCFG_MCS51_PORT_P1_IN_CB(READ8(ti630_state, i80c31_p1_r)) - MCFG_MCS51_PORT_P1_OUT_CB(WRITE8(ti630_state, i80c31_p1_w)) - MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(ti630_state, i80c31_p3_w)) + MCFG_DEVICE_ADD("maincpu", I80C31, XTAL(10'000'000)) + MCFG_DEVICE_PROGRAM_MAP(i80c31_prg) + MCFG_DEVICE_IO_MAP(i80c31_io) + MCFG_MCS51_PORT_P1_IN_CB(READ8(*this, ti630_state, i80c31_p1_r)) + MCFG_MCS51_PORT_P1_OUT_CB(WRITE8(*this, ti630_state, i80c31_p1_w)) + MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(*this, ti630_state, i80c31_p3_w)) /* video hardware */ MCFG_SCREEN_ADD("screen", LCD) |