summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/ppu2c0x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/ppu2c0x.c')
-rw-r--r--src/mame/video/ppu2c0x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/ppu2c0x.c b/src/mame/video/ppu2c0x.c
index 441906acc8f..5c22d2ad8d1 100644
--- a/src/mame/video/ppu2c0x.c
+++ b/src/mame/video/ppu2c0x.c
@@ -1283,7 +1283,7 @@ void ppu2c0x_device::spriteram_dma( address_space *space, const UINT8 page )
}
// should last 513 CPU cycles.
- device_adjust_icount(&space->device(), -513);
+ space->device().execute().adjust_icount(-513);
}
/*************************************