summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author davidhay <davidhay@localhost>2009-05-04 13:58:22 +0000
committer davidhay <davidhay@localhost>2009-05-04 13:58:22 +0000
commit0c5ebcb2eee6002883064c00e5ba782cfeeedaa7 (patch)
treedd1b6518be1c07814d42e2379575b904f87d7b3b /src
parent91a7d9908bad55e9ba986543882053933d3ba90d (diff)
small wbuffer priority hack to make things more usable (things are generally in the right order now)
Diffstat (limited to 'src')
-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 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++)
{