mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
fix a compiler bug when debugvertices is turned on.
This commit is contained in:
parent
3f12ffd1d1
commit
34815b527b
@ -14,7 +14,7 @@
|
||||
#define DEBUG_PVRTA (0)
|
||||
#define DEBUG_PVRTA_REGS (0)
|
||||
#define DEBUG_PVRDLIST (0)
|
||||
#define DEBUG_VERTICES (0)
|
||||
#define DEBUG_VERTICES (1)
|
||||
|
||||
static UINT32 pvrctrl_regs[0x100/4];
|
||||
static UINT32 pvrta_regs[0x2000/4];
|
||||
@ -707,7 +707,7 @@ render_bounds line, clip;
|
||||
ploty=line.y0;
|
||||
ix = abs(dx);
|
||||
iy = abs(dy);
|
||||
inc = max(ix,iy);
|
||||
inc = MAX(ix,iy);
|
||||
x = y = 0;
|
||||
dxix = (dx ? dx/ix : 0);
|
||||
dyiy = (dy ? dy/iy : 0);
|
||||
|
Loading…
Reference in New Issue
Block a user