summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/psx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/psx.cpp')
-rw-r--r--src/devices/video/psx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/psx.cpp b/src/devices/video/psx.cpp
index 70f43c49f0a..0c6bfa6e38d 100644
--- a/src/devices/video/psx.cpp
+++ b/src/devices/video/psx.cpp
@@ -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-cliprect.min_x, &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;