mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
Some changes to the psx mesh display for debugging. (nw)
This commit is contained in:
parent
85322f044a
commit
40d2b618fc
@ -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;
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user