summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author davidhay <davidhay@localhost>2009-03-08 14:08:17 +0000
committer davidhay <davidhay@localhost>2009-03-08 14:08:17 +0000
commit34815b527b71a6b77b145f7d00f826fa4bd98ccc (patch)
tree41282c22babb4c90c87b34085ef9e73db6140bd1
parent3f12ffd1d11f22d73e2017f1b444c7d72a2141cd (diff)
fix a compiler bug when debugvertices is turned on.
-rw-r--r--src/mame/video/dc.c4
1 files 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);