summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/starwars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/starwars.cpp')
-rw-r--r--src/mame/drivers/starwars.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/starwars.cpp b/src/mame/drivers/starwars.cpp
index 9fbdff84814..1a4c6e960e1 100644
--- a/src/mame/drivers/starwars.cpp
+++ b/src/mame/drivers/starwars.cpp
@@ -552,7 +552,7 @@ ROM_END
*
*************************************/
-DRIVER_INIT_MEMBER(starwars_state,starwars)
+void starwars_state::init_starwars()
{
/* prepare the mathbox */
starwars_mproc_init();
@@ -563,7 +563,7 @@ DRIVER_INIT_MEMBER(starwars_state,starwars)
}
-DRIVER_INIT_MEMBER(starwars_state,esb)
+void starwars_state::init_esb()
{
uint8_t *rom = memregion("maincpu")->base();
@@ -593,11 +593,11 @@ DRIVER_INIT_MEMBER(starwars_state,esb)
*
*************************************/
-GAME( 1983, starwars, 0, starwars, starwars, starwars_state, starwars, ROT0, "Atari", "Star Wars (set 1)", 0 ) // newest
-GAME( 1983, starwars1,starwars, starwars, starwars, starwars_state, starwars, ROT0, "Atari", "Star Wars (set 2)", 0 )
-GAME( 1983, starwarso,starwars, starwars, starwars, starwars_state, starwars, ROT0, "Atari", "Star Wars (set 3)", 0 ) // oldest
+GAME( 1983, starwars, 0, starwars, starwars, starwars_state, init_starwars, ROT0, "Atari", "Star Wars (set 1)", 0 ) // newest
+GAME( 1983, starwars1,starwars, starwars, starwars, starwars_state, init_starwars, ROT0, "Atari", "Star Wars (set 2)", 0 )
+GAME( 1983, starwarso,starwars, starwars, starwars, starwars_state, init_starwars, ROT0, "Atari", "Star Wars (set 3)", 0 ) // oldest
// is there an even older starwars set with 136021-106.1m ?
-GAME( 1983, tomcatsw, tomcat, starwars, starwars, starwars_state, starwars, ROT0, "Atari", "TomCat (Star Wars hardware, prototype)", MACHINE_NO_SOUND )
+GAME( 1983, tomcatsw, tomcat, starwars, starwars, starwars_state, init_starwars, ROT0, "Atari", "TomCat (Star Wars hardware, prototype)", MACHINE_NO_SOUND )
-GAME( 1985, esb, 0, esb, esb, starwars_state, esb, ROT0, "Atari Games", "The Empire Strikes Back", 0 )
+GAME( 1985, esb, 0, esb, esb, starwars_state, init_esb, ROT0, "Atari Games", "The Empire Strikes Back", 0 )