summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/backfire.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/backfire.cpp')
-rw-r--r--src/mame/drivers/backfire.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/backfire.cpp b/src/mame/drivers/backfire.cpp
index 3407fc3965a..d855df1be93 100644
--- a/src/mame/drivers/backfire.cpp
+++ b/src/mame/drivers/backfire.cpp
@@ -48,7 +48,7 @@ public:
{ }
void backfire(machine_config &config);
- DECLARE_DRIVER_INIT(backfire);
+ void init_backfire();
private:
DECLARE_READ32_MEMBER(control2_r);
@@ -668,7 +668,7 @@ READ32_MEMBER(backfire_state::backfire_speedup_r)
}
-DRIVER_INIT_MEMBER(backfire_state,backfire)
+void backfire_state::init_backfire()
{
deco56_decrypt_gfx(machine(), "gfx1"); /* 141 */
deco56_decrypt_gfx(machine(), "gfx2"); /* 141 */
@@ -678,5 +678,5 @@ DRIVER_INIT_MEMBER(backfire_state,backfire)
m_maincpu->space(AS_PROGRAM).install_read_handler(0x0170018, 0x017001b, read32_delegate(FUNC(backfire_state::backfire_speedup_r), this));
}
-GAME( 1995, backfire, 0, backfire, backfire, backfire_state, backfire, ROT0, "Data East Corporation", "Backfire! (set 1)", MACHINE_SUPPORTS_SAVE )
-GAME( 1995, backfirea, backfire, backfire, backfire, backfire_state, backfire, ROT0, "Data East Corporation", "Backfire! (set 2)", MACHINE_SUPPORTS_SAVE ) // defaults to wheel controls, must change to joystick to play
+GAME( 1995, backfire, 0, backfire, backfire, backfire_state, init_backfire, ROT0, "Data East Corporation", "Backfire! (set 1)", MACHINE_SUPPORTS_SAVE )
+GAME( 1995, backfirea, backfire, backfire, backfire, backfire_state, init_backfire, ROT0, "Data East Corporation", "Backfire! (set 2)", MACHINE_SUPPORTS_SAVE ) // defaults to wheel controls, must change to joystick to play