diff options
Diffstat (limited to 'src/mame/video/segas32.c')
-rw-r--r-- | src/mame/video/segas32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/segas32.c b/src/mame/video/segas32.c index f70c278a7b4..d594879ab92 100644 --- a/src/mame/video/segas32.c +++ b/src/mame/video/segas32.c @@ -1707,8 +1707,8 @@ static int draw_one_sprite(running_machine *machine, UINT16 *data, int xoffs, in }; bitmap_t *bitmap = layer_data[(!is_multi32 || !(data[3] & 0x0800)) ? MIXER_LAYER_SPRITES_2 : MIXER_LAYER_MULTISPR_2].bitmap; - UINT8 numbanks = memory_region_length(machine, RGNCLASS_GFX, "gfx2") / 0x400000; - const UINT32 *spritebase = (const UINT32 *)memory_region(machine, RGNCLASS_GFX, "gfx2"); + UINT8 numbanks = memory_region_length(machine, "gfx2") / 0x400000; + const UINT32 *spritebase = (const UINT32 *)memory_region(machine, "gfx2"); int indirect = data[0] & 0x2000; int indlocal = data[0] & 0x1000; |