diff --git a/src/devices/video/psx.cpp b/src/devices/video/psx.cpp index ad49dfe4802..976bb0093bd 100644 --- a/src/devices/video/psx.cpp +++ b/src/devices/video/psx.cpp @@ -363,7 +363,7 @@ int psxgpu_device::DebugTextureDisplay( bitmap_ind16 &bitmap ) } p_n_interleave[ n_x ] = p_p_vram[ n_yi ][ n_xi ]; } - draw_scanline16( bitmap, 0, n_y, width, p_n_interleave, m_screen->palette()->pens() ); + draw_scanline16( bitmap, 0, n_y, width, p_n_interleave, m_screen->palette().pens() ); } } return m_debug.b_texture;