summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hp49gp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hp49gp.cpp')
-rw-r--r--src/mame/drivers/hp49gp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/hp49gp.cpp b/src/mame/drivers/hp49gp.cpp
index 78cde349949..d39518bf2ba 100644
--- a/src/mame/drivers/hp49gp.cpp
+++ b/src/mame/drivers/hp49gp.cpp
@@ -280,8 +280,8 @@ DRIVER_INIT_MEMBER(hp49gp_state,hp49gp)
}
MACHINE_CONFIG_START(hp49gp_state::hp49gp)
- MCFG_CPU_ADD("maincpu", ARM9, 400000000)
- MCFG_CPU_PROGRAM_MAP(hp49gp_map)
+ MCFG_DEVICE_ADD("maincpu", ARM9, 400000000)
+ MCFG_DEVICE_PROGRAM_MAP(hp49gp_map)
MCFG_PALETTE_ADD("palette", 32768)
@@ -298,8 +298,8 @@ MACHINE_CONFIG_START(hp49gp_state::hp49gp)
MCFG_DEVICE_ADD("s3c2410", S3C2410, 12000000)
MCFG_S3C2410_PALETTE("palette")
MCFG_S3C2410_SCREEN("screen")
- MCFG_S3C2410_GPIO_PORT_R_CB(READ32(hp49gp_state, s3c2410_gpio_port_r))
- MCFG_S3C2410_GPIO_PORT_W_CB(WRITE32(hp49gp_state, s3c2410_gpio_port_w))
+ MCFG_S3C2410_GPIO_PORT_R_CB(READ32(*this, hp49gp_state, s3c2410_gpio_port_r))
+ MCFG_S3C2410_GPIO_PORT_W_CB(WRITE32(*this, hp49gp_state, s3c2410_gpio_port_w))
MCFG_S3C2410_LCD_FLAGS(S3C24XX_INTERFACE_LCD_REVERSE)
MACHINE_CONFIG_END