oops, forgot about debug builds.

This commit is contained in:
smf- 2011-05-25 07:46:13 +00:00
parent 397d5652ae
commit 47f57b52f5
2 changed files with 12 additions and 3 deletions

View File

@ -156,7 +156,7 @@ void psxgpu_device::DebugMesh( int n_coordx, int n_coordy )
if( m_debug.n_coord < DEBUG_COORDS )
{
n_coordx += n_displaystartx;
n_coordx += m_n_displaystartx;
n_coordy += n_displaystarty;
n_coordx *= 511;
@ -638,11 +638,11 @@ void psxgpu_device::update_screen(bitmap_t *bitmap, const rectangle *cliprect)
#if defined( MAME_DEBUG )
if( DebugMeshDisplay( bitmap, cliprect ) )
{
return 0;
return;
}
if( DebugTextureDisplay( bitmap ) )
{
return 0;
return;
}
#endif

View File

@ -198,6 +198,15 @@ protected:
void psx_gpu_init( int n_gputype );
void gpu_reset();
#if defined( MAME_DEBUG )
void DebugMeshInit( void );
void DebugMesh( int n_coordx, int n_coordy );
void DebugMeshEnd( void );
void DebugCheckKeys( void );
int DebugMeshDisplay( bitmap_t *bitmap, const rectangle *cliprect );
int DebugTextureDisplay( bitmap_t *bitmap );
#endif
INT32 m_n_tx;
INT32 m_n_ty;
INT32 n_abr;