From 34815b527b71a6b77b145f7d00f826fa4bd98ccc Mon Sep 17 00:00:00 2001 From: davidhay Date: Sun, 8 Mar 2009 14:08:17 +0000 Subject: [PATCH] fix a compiler bug when debugvertices is turned on. --- src/mame/video/dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/dc.c b/src/mame/video/dc.c index a4d455499f2..abe5b64539b 100644 --- a/src/mame/video/dc.c +++ b/src/mame/video/dc.c @@ -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);