summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/equites.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/equites.c')
-rw-r--r--src/mame/video/equites.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/equites.c b/src/mame/video/equites.c
index 93831093602..fcb38a8f9f0 100644
--- a/src/mame/video/equites.c
+++ b/src/mame/video/equites.c
@@ -10,7 +10,7 @@
PALETTE_INIT( equites )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
machine.colortable = colortable_alloc(machine, 256);
@@ -30,7 +30,7 @@ PALETTE_INIT( equites )
PALETTE_INIT( splndrbt )
{
- const UINT8 *color_prom = machine.region("proms")->base();
+ const UINT8 *color_prom = machine.root_device().memregion("proms")->base();
int i;
machine.colortable = colortable_alloc(machine, 256);
@@ -327,7 +327,7 @@ Also, note that sprites are 30x30, not 32x32.
static void splndrbt_draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const rectangle &cliprect )
{
equites_state *state = machine.driver_data<equites_state>();
- const UINT8 * const xrom = machine.region("user2")->base();
+ const UINT8 * const xrom = state->memregion("user2")->base();
const UINT8 * const yrom = xrom + 0x100;
const gfx_element* const gfx = machine.gfx[2];
int offs;
@@ -405,7 +405,7 @@ static void splndrbt_copy_bg( running_machine &machine, bitmap_ind16 &dst_bitmap
equites_state *state = machine.driver_data<equites_state>();
bitmap_ind16 &src_bitmap = state->m_bg_tilemap->pixmap();
bitmap_ind8 &flags_bitmap = state->m_bg_tilemap->flagsmap();
- const UINT8 * const xrom = machine.region("user1")->base();
+ const UINT8 * const xrom = state->memregion("user1")->base();
const UINT8 * const yrom = xrom + 0x2000;
int scroll_x = state->m_splndrbt_bg_scrollx;
int scroll_y = state->m_splndrbt_bg_scrolly;