Some changes to the psx mesh display for debugging. (nw)

This commit is contained in:
smf- 2013-03-27 22:05:34 +00:00
parent 85322f044a
commit 40d2b618fc
2 changed files with 4 additions and 7 deletions

View File

@ -144,12 +144,10 @@ void psxgpu_device::DebugMesh( int n_coordx, int n_coordy )
n_coordx += m_n_displaystartx;
n_coordy += n_displaystarty;
n_coordx *= 511;
n_coordx /= DEBUG_MAX - 1;
n_coordx += 256;
n_coordy *= 511;
n_coordy /= DEBUG_MAX - 1;
n_coordy += 256;
n_coordx *= width - 1;
n_coordx /= 1023;
n_coordy *= height - 1;
n_coordy /= 1023;
m_debug.n_coordx[ m_debug.n_coord ] = n_coordx;
m_debug.n_coordy[ m_debug.n_coord ] = n_coordy;

View File

@ -53,7 +53,6 @@ extern const device_type CXD8654Q;
#define MID_SHADE ( 0x80 )
#define DEBUG_COORDS ( 10 )
#define DEBUG_MAX ( 512 )
struct psx_gpu_debug
{