summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/argus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/argus.c')
-rw-r--r--src/mame/video/argus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/argus.c b/src/mame/video/argus.c
index a31c19b1659..0edc4eb4665 100644
--- a/src/mame/video/argus.c
+++ b/src/mame/video/argus.c
@@ -369,8 +369,8 @@ static void argus_write_dummy_rams(running_machine &machine, int dramoffs, int v
int voffs;
int offs;
- UINT8 *VROM1 = machine.region("user1")->base(); /* "ag_15.bin" */
- UINT8 *VROM2 = machine.region("user2")->base(); /* "ag_16.bin" */
+ UINT8 *VROM1 = machine.root_device().memregion("user1")->base(); /* "ag_15.bin" */
+ UINT8 *VROM2 = state->memregion("user2")->base(); /* "ag_16.bin" */
/* offset in pattern data */
offs = VROM1[vromoffs] | (VROM1[vromoffs + 1] << 8);