Previous 199869 Revisions Next

r33142 Sunday 2nd November, 2014 at 14:51:49 UTC by Miodrag Milanović
Merge pull request #30 from p1pkin/naoimi#1

naomi.c:
[src/emu/video]upd7220.c

trunk/src/emu/video/upd7220.c
r241653r241654
15711571   UINT16 len;
15721572   int im, wd, area;
15731573   int y = 0, tsy = 0, bsy = 0;
1574   bool mixed = ((m_mode & UPD7220_MODE_DISPLAY_MASK) == UPD7220_MODE_DISPLAY_MIXED);
15741575
15751576   for (area = 0; area < 4; area++)
15761577   {
r241653r241654
15921593            addr = ((sad << 1) & 0x3ffff) + (y * (m_pitch << (im ? 0 : 1)));
15931594
15941595            if (!m_display_cb.isnull())
1595               draw_graphics_line(bitmap, addr, y + (bsy / m_lr), wd);
1596               draw_graphics_line(bitmap, addr, y + (bsy / (mixed ? 1 : m_lr)), wd);
15961597         }
15971598      }
15981599      else


Previous 199869 Revisions Next


© 1997-2024 The MAME Team