summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cham24.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cham24.c')
-rw-r--r--src/mame/drivers/cham24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cham24.c b/src/mame/drivers/cham24.c
index 5119f5989a4..60bd543b4d7 100644
--- a/src/mame/drivers/cham24.c
+++ b/src/mame/drivers/cham24.c
@@ -306,7 +306,7 @@ void cham24_state::video_start()
UINT32 cham24_state::screen_update_cham24(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
/* render the ppu */
- ppu2c0x_device *ppu = screen.machine().device<ppu2c0x_device>("ppu");
+ ppu2c0x_device *ppu = machine().device<ppu2c0x_device>("ppu");
ppu->render(bitmap, 0, 0, 0, 0);
return 0;
}