diff options
Diffstat (limited to 'src/devices/bus/neogeo/mslugx.cpp')
-rw-r--r-- | src/devices/bus/neogeo/mslugx.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/devices/bus/neogeo/mslugx.cpp b/src/devices/bus/neogeo/mslugx.cpp index 71af2d783d4..97790e77669 100644 --- a/src/devices/bus/neogeo/mslugx.cpp +++ b/src/devices/bus/neogeo/mslugx.cpp @@ -13,27 +13,28 @@ //------------------------------------------------- -// neogeo_mslugx_cart - constructor +// neogeo_mslugx_cart_device - constructor //------------------------------------------------- -const device_type NEOGEO_MSLUGX_CART = device_creator<neogeo_mslugx_cart>; +DEFINE_DEVICE_TYPE(NEOGEO_MSLUGX_CART, neogeo_mslugx_cart_device, "neocart_mslugx", "Neo Geo Metal Slug X Cart") -neogeo_mslugx_cart::neogeo_mslugx_cart(const machine_config &mconfig, const char *tag, device_t *owner, uint16_t clock) : - neogeo_rom_device(mconfig, NEOGEO_MSLUGX_CART, "Neo Geo Metal Slug X Cart", tag, owner, clock, "neocart_mslugx", __FILE__), +neogeo_mslugx_cart_device::neogeo_mslugx_cart_device(const machine_config &mconfig, const char *tag, device_t *owner, uint16_t clock) : + neogeo_rom_device(mconfig, NEOGEO_MSLUGX_CART, tag, owner, clock), m_prot(*this, "mslugx_prot") -{} +{ +} //------------------------------------------------- // mapper specific start/reset //------------------------------------------------- -void neogeo_mslugx_cart::device_start() +void neogeo_mslugx_cart_device::device_start() { } -void neogeo_mslugx_cart::device_reset() +void neogeo_mslugx_cart_device::device_reset() { } @@ -46,7 +47,7 @@ static MACHINE_CONFIG_FRAGMENT( mslugx_cart ) MCFG_MSLUGX_PROT_ADD("mslugx_prot") MACHINE_CONFIG_END -machine_config_constructor neogeo_mslugx_cart::device_mconfig_additions() const +machine_config_constructor neogeo_mslugx_cart_device::device_mconfig_additions() const { return MACHINE_CONFIG_NAME( mslugx_cart ); } |