diff options
Diffstat (limited to 'src/mame/video/relief.cpp')
-rw-r--r-- | src/mame/video/relief.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/relief.cpp b/src/mame/video/relief.cpp index e5d64c94d22..26b344682ef 100644 --- a/src/mame/video/relief.cpp +++ b/src/mame/video/relief.cpp @@ -107,12 +107,12 @@ uint32_t relief_state::screen_update_relief(screen_device &screen, bitmap_ind16 // draw and merge the MO bitmap_ind16 &mobitmap = m_vad->mob().bitmap(); for (const sparse_dirty_rect *rect = m_vad->mob().first_dirty_rect(cliprect); rect != nullptr; rect = rect->next()) - for (int y = rect->min_y; y <= rect->max_y; y++) + for (int y = rect->top(); y <= rect->bottom(); y++) { uint16_t *mo = &mobitmap.pix16(y); uint16_t *pf = &bitmap.pix16(y); uint8_t *pri = &priority_bitmap.pix8(y); - for (int x = rect->min_x; x <= rect->max_x; x++) + for (int x = rect->left(); x <= rect->right(); x++) if (mo[x] != 0xffff) { /* verified from the GALs on the real PCB; equations follow |