Stop mesh being displayed all the time when MAME_DEBUG is set. (nw)

This commit is contained in:
smf- 2013-04-06 02:08:20 +00:00
parent a9422040c7
commit f64c2ca7a1

View File

@ -1,7 +1,7 @@
/* /*
* PlayStation GPU emulator * PlayStation GPU emulator
* *
* Copyright 2003-2011 smf * Copyright 2003-2013 smf
* *
*/ */
@ -314,7 +314,7 @@ void psxgpu_device::DebugCheckKeys( void )
int psxgpu_device::DebugMeshDisplay( bitmap_ind16 &bitmap, const rectangle &cliprect ) int psxgpu_device::DebugMeshDisplay( bitmap_ind16 &bitmap, const rectangle &cliprect )
{ {
if( m_debug.mesh ) if( m_debug.b_mesh )
{ {
copybitmap( bitmap, *m_debug.mesh, 0, 0, 0, 0, cliprect ); copybitmap( bitmap, *m_debug.mesh, 0, 0, 0, 0, cliprect );
} }