summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/idectrl.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-05-23 07:50:33 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-05-23 07:50:33 +0000
commit4ef49012af1ba5c505f6dcbc8327a316a881e907 (patch)
treef83feb15698aeeeeb8c9c3db26bc2875f60e99ce /src/emu/machine/idectrl.h
parent4580108461881099f6ecb64b0fc581c1dd13a01a (diff)
Added support for fixed slots (used for MAME) and ability to create internal only slot options (for MESS) (no whatsnew)
Diffstat (limited to 'src/emu/machine/idectrl.h')
-rw-r--r--src/emu/machine/idectrl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/machine/idectrl.h b/src/emu/machine/idectrl.h
index e55aae970e1..e1804877606 100644
--- a/src/emu/machine/idectrl.h
+++ b/src/emu/machine/idectrl.h
@@ -145,20 +145,20 @@ SLOT_INTERFACE_EXTERN(ide_image_devices);
DEVICE CONFIGURATION MACROS
***************************************************************************/
-#define MCFG_IDE_CONTROLLER_ADD(_tag, _callback, _slotintf, _master, _slave) \
+#define MCFG_IDE_CONTROLLER_ADD(_tag, _callback, _slotintf, _master, _slave, _fixed) \
MCFG_DEVICE_ADD(_tag, IDE_CONTROLLER, 0) \
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, interrupt, _callback) \
- MCFG_IDE_SLOT_ADD("drive_0", _slotintf, _master, NULL) \
- MCFG_IDE_SLOT_ADD("drive_1", _slotintf, _slave, NULL) \
+ MCFG_IDE_SLOT_ADD("drive_0", _slotintf, _master, NULL, _fixed) \
+ MCFG_IDE_SLOT_ADD("drive_1", _slotintf, _slave, NULL, _fixed) \
#define MCFG_IDE_BUS_MASTER_SPACE(_tag, _cpu, _space) \
MCFG_DEVICE_MODIFY(_tag) \
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, bmcpu, _cpu) \
MCFG_DEVICE_CONFIG_DATA32(ide_config, bmspace, AS_##_space)
-#define MCFG_IDE_SLOT_ADD(_tag, _slot_intf, _def_slot, _def_inp) \
+#define MCFG_IDE_SLOT_ADD(_tag, _slot_intf, _def_slot, _def_inp, _fixed) \
MCFG_DEVICE_ADD(_tag, IDE_SLOT, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp) \
+ MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp, _fixed) \
/***************************************************************************
FUNCTION PROTOTYPES