From 0c5ebcb2eee6002883064c00e5ba782cfeeedaa7 Mon Sep 17 00:00:00 2001 From: davidhay Date: Mon, 4 May 2009 13:58:22 +0000 Subject: [PATCH] small wbuffer priority hack to make things more usable (things are generally in the right order now) --- 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 d104fc16f45..c98b3527e39 100644 --- a/src/mame/video/dc.c +++ b/src/mame/video/dc.c @@ -1348,7 +1348,7 @@ void render_hline(bitmap_t *bitmap, texinfo *ti, int y, float xl, float xr, floa wbufline = &wbuffer[y][xxl]; while(xxl < xxr) { - if(wl > *wbufline) { + if((wl < *wbufline) || *wbufline==0) { UINT32 c; float u = ul/wl; float v = vl/wl; @@ -1600,7 +1600,7 @@ static void testdrawscreen(const running_machine *machine,bitmap_t *bitmap,const ns=state_ta.grab[rs].teststrips_size; if(ns) - memset(wbuffer, 0, sizeof(wbuffer)); + memset(wbuffer, 0x00, sizeof(wbuffer)); for (cs=0;cs < ns;cs++) {