diff options
Diffstat (limited to 'src/mame/machine/micro3d.c')
-rw-r--r-- | src/mame/machine/micro3d.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/micro3d.c b/src/mame/machine/micro3d.c index d599405fb83..1d29b7e2aa2 100644 --- a/src/mame/machine/micro3d.c +++ b/src/mame/machine/micro3d.c @@ -320,7 +320,7 @@ WRITE32_MEMBER(micro3d_state::micro3d_mac2_w) case 0x08: { int i; - const UINT16 *rom = (UINT16*)machine().region("vertex")->base(); + const UINT16 *rom = (UINT16*)machine().root_device().memregion("vertex")->base(); for (i = 0; i <= cnt; ++i) { @@ -359,7 +359,7 @@ WRITE32_MEMBER(micro3d_state::micro3d_mac2_w) case 0x0c: { int i; - const UINT16 *rom = (UINT16*)machine().region("vertex")->base(); + const UINT16 *rom = (UINT16*)machine().root_device().memregion("vertex")->base(); for (i = 0; i <= cnt; ++i) { @@ -392,7 +392,7 @@ WRITE32_MEMBER(micro3d_state::micro3d_mac2_w) case 0x0f: { int i; - const UINT16 *rom = (UINT16*)machine().region("vertex")->base(); + const UINT16 *rom = (UINT16*)machine().root_device().memregion("vertex")->base(); for (i = 0; i <= cnt; ++i, vtx_addr += 4) { |