diff options
Diffstat (limited to 'src/mame/video/othunder.c')
-rw-r--r-- | src/mame/video/othunder.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/video/othunder.c b/src/mame/video/othunder.c index 3942ce707b8..08aaabff766 100644 --- a/src/mame/video/othunder.c +++ b/src/mame/video/othunder.c @@ -3,13 +3,12 @@ #include "includes/othunder.h" -VIDEO_START( othunder ) +void othunder_state::video_start() { /* Up to $800/8 big sprites, requires 0x100 * sizeof(*spritelist) Multiply this by 32 to give room for the number of small sprites, which are what actually get put in the structure. */ - othunder_state *state = machine.driver_data<othunder_state>(); - state->m_spritelist = auto_alloc_array(machine, struct othunder_tempsprite, 0x2000); + m_spritelist = auto_alloc_array(machine(), struct othunder_tempsprite, 0x2000); } |