04766: mario and clones: Missing Title/Game Graphics

This commit is contained in:
Phil Bennett 2012-04-26 23:30:19 +00:00
parent 8c4d4c2ccc
commit c279ef569d
2 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,6 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram;
size_t m_spriteram_size;
tilemap_t *m_bg_tilemap;
int m_monitor;

View File

@ -165,7 +165,7 @@ static void draw_sprites(running_machine &machine, bitmap_ind16 &bitmap, const r
mario_state *state = machine.driver_data<mario_state>();
int offs;
for (offs = 0;offs < state->m_spriteram_size;offs += 4)
for (offs = 0; offs < state->m_spriteram.bytes(); offs += 4)
{
if (state->m_spriteram[offs])
{