diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-04-15 05:44:22 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-04-15 05:44:22 +0000 |
commit | 3c0e32112372e880b70e52fbb5ce14b5eef40f1b (patch) | |
tree | 0e136f7f1d4f37e9af39f25c6744c497f264a733 /src/mame/video/redclash.c | |
parent | 933e54c208155a783f26ab6c0ab9fe788e2595d2 (diff) |
Remove AM_BASE in favor of AM_SHARED + required_shared_ptr.
This update passes validity checks but will certainly have
a number of drivers failing at startup because all pointers
are defaulted to required by the automated scripts used.
Will fix problems once we get a regression run to find out
which drivers need attention.
Diffstat (limited to 'src/mame/video/redclash.c')
-rw-r--r-- | src/mame/video/redclash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/redclash.c b/src/mame/video/redclash.c index 6c28df2ab2c..6e1030597e1 100644 --- a/src/mame/video/redclash.c +++ b/src/mame/video/redclash.c @@ -191,7 +191,7 @@ static void draw_sprites( running_machine &machine, bitmap_ind16 &bitmap, const UINT8 *spriteram = state->m_spriteram; int i, offs; - for (offs = state->m_spriteram_size - 0x20; offs >= 0; offs -= 0x20) + for (offs = state->m_spriteram.bytes() - 0x20; offs >= 0; offs -= 0x20) { i = 0; while (i < 0x20 && spriteram[offs + i] != 0) |