summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gotcha.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gotcha.c')
-rw-r--r--src/mame/video/gotcha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/gotcha.c b/src/mame/video/gotcha.c
index ab31d2984c7..520ba83a874 100644
--- a/src/mame/video/gotcha.c
+++ b/src/mame/video/gotcha.c
@@ -106,7 +106,7 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const
UINT16 *spriteram = state->m_spriteram;
int offs;
- for (offs = 0; offs < state->m_spriteram_size / 2; offs += 4)
+ for (offs = 0; offs < state->m_spriteram.bytes() / 2; offs += 4)
{
int sx, sy, code, color, flipx, flipy, height, y;