summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/phoenix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/phoenix.c')
-rw-r--r--src/mame/video/phoenix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/phoenix.c b/src/mame/video/phoenix.c
index c01d6a5ed13..d37d63e97cd 100644
--- a/src/mame/video/phoenix.c
+++ b/src/mame/video/phoenix.c
@@ -78,7 +78,7 @@ static const res_net_info survival_net_info =
PALETTE_INIT( phoenix )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
rgb_t *rgb;
@@ -96,7 +96,7 @@ PALETTE_INIT( phoenix )
PALETTE_INIT( survival )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
rgb_t *rgb;
@@ -114,7 +114,7 @@ PALETTE_INIT( survival )
PALETTE_INIT( pleiads )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
rgb_t *rgb;
@@ -226,7 +226,7 @@ VIDEO_START( phoenix )
WRITE8_MEMBER(phoenix_state::phoenix_videoram_w)
{
- UINT8 *rom = machine().region("maincpu")->base();
+ UINT8 *rom = memregion("maincpu")->base();
m_videoram_pg[m_videoram_pg_index][offset] = data;