From a211ba264bef2253d35cee4a468165bfb707f114 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Tue, 8 Jan 2008 03:06:02 +0000 Subject: [PATCH] (From Atari Ace) Small fix to the gfxlayout cleanups included in u4. --- src/emu/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/video.c b/src/emu/video.c index 4003d41c5ea..6b0f0e7b5f0 100644 --- a/src/emu/video.c +++ b/src/emu/video.c @@ -583,7 +583,7 @@ static void allocate_graphics(running_machine *machine, const gfx_decode_entry * int base = gfxdecodeinfo[i].start; int end = region_length/8; int linemod = gl->yoffset[0]; - while (glcopy.total > 0) + while (total > 0) { int elementbase = base + (total - 1) * charincrement / 8; int lastpixelbase = elementbase + height * linemod / 8 - 1;