mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
04766: mario and clones: Missing Title/Game Graphics
This commit is contained in:
parent
8c4d4c2ccc
commit
c279ef569d
@ -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;
|
||||
|
||||
|
@ -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])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user