summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Robbbert <robbbert@users.noreply.github.com>2013-01-01 15:27:44 +0000
committer Robbbert <robbbert@users.noreply.github.com>2013-01-01 15:27:44 +0000
commitc226f45cacf6d7311f8acfaa95707746c4085f97 (patch)
tree22d2574d9ba59c505ba5e8b87d68c6d1f479414f /src
parent7c4292135622779bde55186bd0ef5f0d93b178a6 (diff)
MT 05097 fix [Barry Harris]
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/fcrash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/fcrash.c b/src/mame/drivers/fcrash.c
index 3f2d1785e14..ddae7bcce9a 100644
--- a/src/mame/drivers/fcrash.c
+++ b/src/mame/drivers/fcrash.c
@@ -261,7 +261,7 @@ static void fcrash_render_sprites( running_machine &machine, bitmap_ind16 &bitma
if (state->m_bootleg_sprite_ram) sprite_ram = state->m_bootleg_sprite_ram;
/* get end of sprite list marker */
- for (pos = 0x1ffc; pos >= 0x0000; pos -= 4)
+ for (pos = 0x1ffc - base; pos >= 0x0000; pos -= 4)
{
if (sprite_ram[base + pos - 1] == state->m_sprite_list_end_marker) last_sprite_offset = pos;
}