1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
// license:BSD-3-Clause
// copyright-holders:S. Smith,David Haywood,Fabio Priuli
/***********************************************************************************************************
Neo Geo cart emulation
Metal Slug X cart type
***********************************************************************************************************/
#include "emu.h"
#include "mslugx.h"
//-------------------------------------------------
// neogeo_mslugx_cart - constructor
//-------------------------------------------------
const device_type NEOGEO_MSLUGX_CART = &device_creator<neogeo_mslugx_cart>;
neogeo_mslugx_cart::neogeo_mslugx_cart(const machine_config &mconfig, const char *tag, device_t *owner, UINT16 clock) :
neogeo_rom_device(mconfig, NEOGEO_MSLUGX_CART, "Neo Geo Metal Slug X Cart", tag, owner, clock, "neocart_mslugx", __FILE__),
m_prot(*this, "mslugx_prot")
{}
//-------------------------------------------------
// mapper specific start/reset
//-------------------------------------------------
void neogeo_mslugx_cart::device_start()
{
}
void neogeo_mslugx_cart::device_reset()
{
}
/*-------------------------------------------------
mapper specific handlers
-------------------------------------------------*/
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
{
return MACHINE_CONFIG_NAME( mslugx_cart );
}
|