summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sshangha.cpp
diff options
context:
space:
mode:
authorGravatarGravatar MooglyGuy <MooglyGuy@users.noreply.github.com>2018-05-13 15:22:22 +0200
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-05-13 22:22:22 +0900
commit5cc2319a2e286735981cb62781e65169ff936a52 (patch) (github)
tree9465116c1856e052635215df0b98e400cc8bd020 /src/mame/drivers/sshangha.cpp
parent49803e7418beefbd912d0090884063422888891d (diff)
downloadmame-5cc2319a2e286735981cb62781e65169ff936a52.tar.bz2
mame-5cc2319a2e286735981cb62781e65169ff936a52.zip
Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS explicit. (#3565)
* -Removed DRIVER_INIT macros in favor of explicitly-named member functions, nw * -Removed DRIVER_INIT_related macros. Made init_ prefix on driver initializers explicit. Renamed init_0 to empty_init. Fixed up GAME/COMP/CONS macro spacing. [Ryan Holtz] * Missed some files, nw * Fix compile, (nw)
Diffstat (limited to 'src/mame/drivers/sshangha.cpp')
-rw-r--r--src/mame/drivers/sshangha.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/sshangha.cpp b/src/mame/drivers/sshangha.cpp
index b09c6c9b960..e03f879a209 100644
--- a/src/mame/drivers/sshangha.cpp
+++ b/src/mame/drivers/sshangha.cpp
@@ -497,7 +497,7 @@ ROM_START( sshanghab )
ROM_END
-DRIVER_INIT_MEMBER(sshangha_state,sshangha)
+void sshangha_state::init_sshangha()
{
#if SSHANGHA_HACK
/* This is a hack to allow you to use the extra features
@@ -514,5 +514,5 @@ DRIVER_INIT_MEMBER(sshangha_state,sshangha)
}
-GAME( 1992, sshangha, 0, sshangha, sshangha, sshangha_state, sshangha, ROT0, "Hot-B", "Super Shanghai Dragon's Eye (Japan)", 0 )
-GAME( 1992, sshanghab,sshangha, sshanghb, sshangha, sshangha_state, sshangha, ROT0, "bootleg", "Super Shanghai Dragon's Eye (World, bootleg)", 0 )
+GAME( 1992, sshangha, 0, sshangha, sshangha, sshangha_state, init_sshangha, ROT0, "Hot-B", "Super Shanghai Dragon's Eye (Japan)", 0 )
+GAME( 1992, sshanghab,sshangha, sshanghb, sshangha, sshangha_state, init_sshangha, ROT0, "bootleg", "Super Shanghai Dragon's Eye (World, bootleg)", 0 )