mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
oops, forgot about debug builds.
This commit is contained in:
parent
397d5652ae
commit
47f57b52f5
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user