From 6718b8e43eb2859db65a7c8d7b4746111d81a794 Mon Sep 17 00:00:00 2001 From: smf- Date: Sat, 8 Sep 2018 14:19:44 +0100 Subject: fix building with PSXGPU_DEBUG_VIEWER (nw) --- src/devices/video/psx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3