summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/generic/carts.cpp
blob: 8abf18ce6701525cc60a7d9c358021d0b71a9f24 (plain) (blame)
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
// license:BSD-3-Clause
// copyright-holders:Fabio Priuli
/**********************************************************************

 Generic ROM / RAM socket slots

 **********************************************************************/


#include "emu.h"
#include "carts.h"
#include "rom.h"
#include "ram.h"


device_slot_interface &generic_plain_slot(device_slot_interface &device)
{
	device.option_add_internal("rom", GENERIC_ROM_PLAIN);
	return device;
}

device_slot_interface &generic_linear_slot(device_slot_interface &device)
{
	device.option_add_internal("rom", GENERIC_ROM_LINEAR);
	return device;
}

device_slot_interface &generic_romram_plain_slot(device_slot_interface &device)
{
	device.option_add_internal("rom", GENERIC_ROMRAM_PLAIN);
	return device;
}