summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/suprloco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/suprloco.c')
-rw-r--r--src/mame/video/suprloco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/suprloco.c b/src/mame/video/suprloco.c
index 86059594a06..cccb24fa6e6 100644
--- a/src/mame/video/suprloco.c
+++ b/src/mame/video/suprloco.c
@@ -30,7 +30,7 @@
***************************************************************************/
PALETTE_INIT( suprloco )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
@@ -203,7 +203,7 @@ static void draw_sprite(running_machine &machine, bitmap_ind16 &bitmap,const rec
dy = -1;
}
- gfx2 = machine.region("gfx2")->base();
+ gfx2 = machine.root_device().memregion("gfx2")->base();
for (row = 0;row < height;row++,adjy+=dy)
{
int color1,color2,flipx;