mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
02825: crossbow: Crash on "Crossing Bridge" stage
This commit is contained in:
parent
9f36ff49d4
commit
b6796bea1f
@ -366,7 +366,7 @@ static void draw_sprites(const device_config *screen, bitmap_t *bitmap, const re
|
|||||||
int pen;
|
int pen;
|
||||||
|
|
||||||
/* left pixel */
|
/* left pixel */
|
||||||
if (left && HBEND >= 0 && currx < HBSTART)
|
if (left && currx >= HBEND && currx < HBSTART)
|
||||||
{
|
{
|
||||||
/* combine with the background */
|
/* combine with the background */
|
||||||
pen = left | old[0];
|
pen = left | old[0];
|
||||||
@ -379,7 +379,7 @@ static void draw_sprites(const device_config *screen, bitmap_t *bitmap, const re
|
|||||||
currx++;
|
currx++;
|
||||||
|
|
||||||
/* right pixel */
|
/* right pixel */
|
||||||
if (right && HBEND >= 0 && currx < HBSTART)
|
if (right && currx >= HBEND && currx < HBSTART)
|
||||||
{
|
{
|
||||||
/* combine with the background */
|
/* combine with the background */
|
||||||
pen = right | old[1];
|
pen = right | old[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user