From 66a083daaf87af3b77a24bb37bdd8035ec51a359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Thu, 27 Sep 2012 09:44:17 +0000 Subject: [PATCH] unclear comments (and in x board case, height is always>0) --- src/mame/video/sega16sp.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mame/video/sega16sp.c b/src/mame/video/sega16sp.c index 3b3c444209d..443901aaf7d 100644 --- a/src/mame/video/sega16sp.c +++ b/src/mame/video/sega16sp.c @@ -194,7 +194,7 @@ void sega_hangon_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip // initialize the end address to the start address data[7] = addr; - // if hidden, or top greater than/equal to bottom, or invalid bank, punt + // if top greater than/equal to bottom, or invalid bank, punt if (top >= bottom || bank == 255) continue; @@ -373,7 +373,7 @@ void sega_sharrier_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &cl // initialize the end address to the start address data[7] = addr; - // if hidden, or top greater than/equal to bottom, or invalid bank, punt + // if top greater than/equal to bottom, or invalid bank, punt if (top >= bottom || bank == 255) continue; @@ -553,7 +553,7 @@ void sega_sys16a_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip // initialize the end address to the start address data[7] = addr; - // if hidden, or top greater than/equal to bottom, or invalid bank, punt + // if top greater than/equal to bottom, or invalid bank, punt if (top >= bottom || bank == 255) continue; @@ -735,7 +735,7 @@ void bootleg_sys16a_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &c UINT16 &data7 = data[m_addrmap[7]]; data7 = addr; - // if hidden, or top greater than/equal to bottom, or invalid bank, punt + // if top greater than/equal to bottom, or invalid bank, punt if (top >= bottom || bank == 255) continue; @@ -1134,8 +1134,8 @@ void sega_outrun_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip // initialize the end address to the start address data[7] = addr; - // if hidden, or top greater than/equal to bottom, or invalid bank, punt - if (hide || height == 0) + // if hidden, punt + if (hide) continue; // clamp to within the memory region size @@ -1325,7 +1325,7 @@ void sega_yboard_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip visited[next] = 1; next = data[7] & 0xfff; - // if hidden, or top greater than/equal to bottom, or invalid bank, punt + // if hidden, or invalid height, punt if (hide || height == 0) continue;