summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/calorie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/calorie.cpp')
-rw-r--r--src/mame/drivers/calorie.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/calorie.cpp b/src/mame/drivers/calorie.cpp
index 6e184d9fd3f..8c0b803ea58 100644
--- a/src/mame/drivers/calorie.cpp
+++ b/src/mame/drivers/calorie.cpp
@@ -114,7 +114,7 @@ public:
DECLARE_WRITE8_MEMBER(calorie_flipscreen_w);
DECLARE_READ8_MEMBER(calorie_soundlatch_r);
DECLARE_WRITE8_MEMBER(bogus_w);
- DECLARE_DRIVER_INIT(calorieb);
+ void init_calorieb();
TILE_GET_INFO_MEMBER(get_bg_tile_info);
TILE_GET_INFO_MEMBER(get_fg_tile_info);
virtual void machine_start() override;
@@ -587,7 +587,7 @@ ROM_END
-DRIVER_INIT_MEMBER(calorie_state,calorieb)
+void calorie_state::init_calorieb()
{
memcpy(m_decrypted_opcodes, memregion("maincpu")->base() + 0x10000, 0x8000);
}
@@ -600,5 +600,5 @@ DRIVER_INIT_MEMBER(calorie_state,calorieb)
*************************************/
/* Note: the bootleg is identical to the original once decrypted */
-GAME( 1986, calorie, 0, caloriee,calorie, calorie_state, 0, ROT0, "Sega", "Calorie Kun vs Moguranian", MACHINE_SUPPORTS_SAVE )
-GAME( 1986, calorieb, calorie, calorie, calorie, calorie_state, calorieb, ROT0, "bootleg", "Calorie Kun vs Moguranian (bootleg)", MACHINE_SUPPORTS_SAVE )
+GAME( 1986, calorie, 0, caloriee,calorie, calorie_state, empty_init, ROT0, "Sega", "Calorie Kun vs Moguranian", MACHINE_SUPPORTS_SAVE )
+GAME( 1986, calorieb, calorie, calorie, calorie, calorie_state, init_calorieb, ROT0, "bootleg", "Calorie Kun vs Moguranian (bootleg)", MACHINE_SUPPORTS_SAVE )