summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/thunderj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/thunderj.c')
-rw-r--r--src/mame/video/thunderj.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mame/video/thunderj.c b/src/mame/video/thunderj.c
index 6557e532f6b..c4639014327 100644
--- a/src/mame/video/thunderj.c
+++ b/src/mame/video/thunderj.c
@@ -56,7 +56,7 @@ TILE_GET_INFO_MEMBER(thunderj_state::get_playfield2_tile_info)
*
*************************************/
-VIDEO_START( thunderj )
+VIDEO_START_MEMBER(thunderj_state,thunderj)
{
static const atarimo_desc modesc =
{
@@ -94,21 +94,20 @@ VIDEO_START( thunderj )
0, /* resulting value to indicate "special" */
NULL /* callback routine for special entries */
};
- thunderj_state *state = machine.driver_data<thunderj_state>();
/* initialize the playfield */
- state->m_playfield_tilemap = &machine.tilemap().create(tilemap_get_info_delegate(FUNC(thunderj_state::get_playfield_tile_info),state), TILEMAP_SCAN_COLS, 8,8, 64,64);
+ m_playfield_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(thunderj_state::get_playfield_tile_info),this), TILEMAP_SCAN_COLS, 8,8, 64,64);
/* initialize the second playfield */
- state->m_playfield2_tilemap = &machine.tilemap().create(tilemap_get_info_delegate(FUNC(thunderj_state::get_playfield2_tile_info),state), TILEMAP_SCAN_COLS, 8,8, 64,64);
- state->m_playfield2_tilemap->set_transparent_pen(0);
+ m_playfield2_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(thunderj_state::get_playfield2_tile_info),this), TILEMAP_SCAN_COLS, 8,8, 64,64);
+ m_playfield2_tilemap->set_transparent_pen(0);
/* initialize the motion objects */
- atarimo_init(machine, 0, &modesc);
+ atarimo_init(machine(), 0, &modesc);
/* initialize the alphanumerics */
- state->m_alpha_tilemap = &machine.tilemap().create(tilemap_get_info_delegate(FUNC(thunderj_state::get_alpha_tile_info),state), TILEMAP_SCAN_ROWS, 8,8, 64,32);
- state->m_alpha_tilemap->set_transparent_pen(0);
+ m_alpha_tilemap = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(thunderj_state::get_alpha_tile_info),this), TILEMAP_SCAN_ROWS, 8,8, 64,32);
+ m_alpha_tilemap->set_transparent_pen(0);
}