mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
(From Atari Ace)
Small fix to the gfxlayout cleanups included in u4.
This commit is contained in:
parent
990bc873d6
commit
a211ba264b
@ -583,7 +583,7 @@ static void allocate_graphics(running_machine *machine, const gfx_decode_entry *
|
|||||||
int base = gfxdecodeinfo[i].start;
|
int base = gfxdecodeinfo[i].start;
|
||||||
int end = region_length/8;
|
int end = region_length/8;
|
||||||
int linemod = gl->yoffset[0];
|
int linemod = gl->yoffset[0];
|
||||||
while (glcopy.total > 0)
|
while (total > 0)
|
||||||
{
|
{
|
||||||
int elementbase = base + (total - 1) * charincrement / 8;
|
int elementbase = base + (total - 1) * charincrement / 8;
|
||||||
int lastpixelbase = elementbase + height * linemod / 8 - 1;
|
int lastpixelbase = elementbase + height * linemod / 8 - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user