mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
psx.cpp : Fix debug mesh display (#3781)
* psx.cpp : Fix debug mesh display * psx.cpp : fix length of debug mesh display
This commit is contained in:
parent
d21d119d02
commit
ea69212ec9
@ -327,7 +327,7 @@ int psxgpu_device::DebugMeshDisplay( bitmap_rgb32 &bitmap, const rectangle &clip
|
||||
if( m_debug.b_mesh )
|
||||
{
|
||||
for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
|
||||
draw_scanline16( bitmap, cliprect.min_x, y, cliprect.max_x+1, m_debug.mesh.pix16(y), pens() );
|
||||
draw_scanline16( bitmap, cliprect.min_x, y, cliprect.max_x+1-cliprect.min_x, &m_debug.mesh.pix16(y), pens() );
|
||||
}
|
||||
m_debug.b_clear = 1;
|
||||
return m_debug.b_mesh;
|
||||
|
Loading…
Reference in New Issue
Block a user