From b6796bea1f8d8fdfab52db3f4e4e3a292bd47f49 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 26 Feb 2009 08:14:16 +0000 Subject: [PATCH] 02825: crossbow: Crash on "Crossing Bridge" stage --- src/mame/video/exidy440.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/exidy440.c b/src/mame/video/exidy440.c index 4e815e36dbc..bd7afbc9e5c 100644 --- a/src/mame/video/exidy440.c +++ b/src/mame/video/exidy440.c @@ -366,7 +366,7 @@ static void draw_sprites(const device_config *screen, bitmap_t *bitmap, const re int pen; /* left pixel */ - if (left && HBEND >= 0 && currx < HBSTART) + if (left && currx >= HBEND && currx < HBSTART) { /* combine with the background */ pen = left | old[0]; @@ -379,7 +379,7 @@ static void draw_sprites(const device_config *screen, bitmap_t *bitmap, const re currx++; /* right pixel */ - if (right && HBEND >= 0 && currx < HBSTART) + if (right && currx >= HBEND && currx < HBSTART) { /* combine with the background */ pen = right | old[1];