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
|
/***********************************************************************************************************
Master Gear Adapter emulation
***********************************************************************************************************/
#include "emu.h"
#include "mgear.h"
//-------------------------------------------------
// constructors
//-------------------------------------------------
const device_type SEGA8_ROM_MGEAR = &device_creator<sega8_mgear_device>;
sega8_mgear_device::sega8_mgear_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega8_rom_device(mconfig, SEGA8_ROM_MGEAR, "Master Gear Adapter", tag, owner, clock, "sega8_mgear", __FILE__),
m_subslot(*this, "subslot")
{
}
void sega8_mgear_device::device_start()
{
}
void sega8_mgear_device::device_reset()
{
}
/*-------------------------------------------------
mapper specific handlers
-------------------------------------------------*/
static MACHINE_CONFIG_FRAGMENT( sub_slot )
MCFG_SMS_CARTRIDGE_ADD("subslot", sms_cart, NULL)
MACHINE_CONFIG_END
machine_config_constructor sega8_mgear_device::device_mconfig_additions() const
{
return MACHINE_CONFIG_NAME( sub_slot );
}
|