diff options
Diffstat (limited to 'src/mame/video/changela.c')
-rw-r--r-- | src/mame/video/changela.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/video/changela.c b/src/mame/video/changela.c index 0a4ddfc717f..50dbebe71d3 100644 --- a/src/mame/video/changela.c +++ b/src/mame/video/changela.c @@ -67,7 +67,7 @@ static void draw_obj0(running_machine *machine, bitmap_t *bitmap, int sy) { int sx, i; - UINT8* ROM = memory_region(machine, RGNCLASS_USER, "user1"); + UINT8* ROM = memory_region(machine, "user1"); UINT8* RAM = spriteram; for(sx = 0; sx < 256; sx++) @@ -128,7 +128,7 @@ static void draw_obj1(running_machine *machine, bitmap_t *bitmap) { int sx, sy; - UINT8* ROM = memory_region(machine, RGNCLASS_GFX, "gfx2"); + UINT8* ROM = memory_region(machine, "gfx2"); UINT8* RAM = videoram; UINT8 reg[4] = { 0 }; /* 4x4-bit registers (U58, U59) */ @@ -191,11 +191,11 @@ static void draw_river(running_machine *machine, bitmap_t *bitmap, int sy) { int sx, i, j; - UINT8* ROM = memory_region(machine, RGNCLASS_USER, "user2"); + UINT8* ROM = memory_region(machine, "user2"); UINT8* RAM = memory_devices + 0x800; - UINT8* TILE_ROM = memory_region(machine, RGNCLASS_GFX, "gfx1"); + UINT8* TILE_ROM = memory_region(machine, "gfx1"); UINT8* TILE_RAM = memory_devices + 0x1000; - UINT8* PROM = memory_region(machine, RGNCLASS_PROMS, "proms"); + UINT8* PROM = memory_region(machine, "proms"); static UINT8 v_count = 0; @@ -371,14 +371,14 @@ static void draw_tree(running_machine *machine, bitmap_t *bitmap, int sy, int tr int sx, i, j; /* State machine */ - UINT8* ROM = memory_region(machine, RGNCLASS_USER, "user2"); + UINT8* ROM = memory_region(machine, "user2"); UINT8* RAM = memory_devices + 0x840 + 0x40*tree_num; - UINT8* PROM = memory_region(machine, RGNCLASS_PROMS, "proms"); + UINT8* PROM = memory_region(machine, "proms"); /* Tree Data */ UINT8* RAM2 = tree_ram + 0x20*tree_num; - UINT8* TILE_ROM = ( tree_num ? (memory_region(machine, RGNCLASS_USER, "user3") + 0x1000) : (memory_region(machine, RGNCLASS_GFX, "gfx1") + 0x2000) ); - UINT8* TILE_RAM = ( tree_num ? (memory_region(machine, RGNCLASS_USER, "user3")) : (memory_devices + 0x1800) ); + UINT8* TILE_ROM = ( tree_num ? (memory_region(machine, "user3") + 0x1000) : (memory_region(machine, "gfx1") + 0x2000) ); + UINT8* TILE_RAM = ( tree_num ? (memory_region(machine, "user3")) : (memory_devices + 0x1800) ); static UINT8 v_count = 0; static int tree_on[2] = { 0 }; |