summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/unichamp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/unichamp.cpp')
-rw-r--r--src/mame/drivers/unichamp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/unichamp.cpp b/src/mame/drivers/unichamp.cpp
index d25f2bedd36..f228a37baff 100644
--- a/src/mame/drivers/unichamp.cpp
+++ b/src/mame/drivers/unichamp.cpp
@@ -238,14 +238,14 @@ MACHINE_CONFIG_START(unichamp_state::unichamp)
/* basic machine hardware */
//The CPU is really clocked this way:
- //MCFG_CPU_ADD("maincpu", CP1610, XTAL(3'579'545)/4)
+ //MCFG_DEVICE_ADD("maincpu", CP1610, XTAL(3'579'545)/4)
//But since it is only running 7752/29868 th's of the time...
//TODO find a more accurate method? (the emulation will me the same though)
- MCFG_CPU_ADD("maincpu", CP1610, (7752.0/29868.0)*XTAL(3'579'545)/4)
+ MCFG_DEVICE_ADD("maincpu", CP1610, (7752.0/29868.0)*XTAL(3'579'545)/4)
- MCFG_CPU_PROGRAM_MAP(unichamp_mem)
+ MCFG_DEVICE_PROGRAM_MAP(unichamp_mem)
MCFG_QUANTUM_TIME(attotime::from_hz(60))
- MCFG_CP1610_BEXT_CALLBACK(READ8(unichamp_state, bext_r))
+ MCFG_CP1610_BEXT_CALLBACK(READ8(*this, unichamp_state, bext_r))
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -265,7 +265,7 @@ MACHINE_CONFIG_START(unichamp_state::unichamp)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_GIC_ADD( "gic", XTAL(3'579'545), "screen", READ8(unichamp_state, unichamp_gicram_r) )
+ MCFG_GIC_ADD( "gic", XTAL(3'579'545), "screen", READ8(*this, unichamp_state, unichamp_gicram_r) )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
/* cartridge */