mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
PC-9801 / upd7220: Fixed Quarth video paging [Angelo Salese]
This commit is contained in:
parent
5fc4570d50
commit
a7eb357751
@ -1600,9 +1600,9 @@ void upd7220_device::update_graphics(bitmap_rgb32 &bitmap, const rectangle &clip
|
||||
|
||||
if (im || force_bitmap)
|
||||
{
|
||||
get_graphics_partition(area, &sad, &len, &im, &wd);
|
||||
//get_graphics_partition(area, &sad, &len, &im, &wd);
|
||||
|
||||
if(area >= 2) // TODO: correct?
|
||||
if(area >= 3) // TODO: correct? Quarth (PC-98xx) definitely draws with area 2.
|
||||
break;
|
||||
|
||||
for (y = 0; y < len; y++)
|
||||
@ -1610,7 +1610,7 @@ void upd7220_device::update_graphics(bitmap_rgb32 &bitmap, const rectangle &clip
|
||||
addr = ((sad << 1) & 0x3ffff) + (y * m_pitch * 2);
|
||||
|
||||
if (m_display_cb)
|
||||
draw_graphics_line(bitmap, addr, y + bsy, wd);
|
||||
draw_graphics_line(bitmap, addr, y + bsy/2, wd);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user