diff options
author | 2019-07-02 20:30:21 +0200 | |
---|---|---|
committer | 2019-07-02 20:30:37 +0200 | |
commit | b6ce2e16d867b21119ce36f6e108d0866f396089 (patch) | |
tree | 16c3b1bfd5d9011b366ded7f10baef32c440651c /src/emu/dislot.h | |
parent | 0b8733206a1f6d3c931171c18f2200b2eb5a2b87 (diff) |
-core: Removed almost all MCFG defines, and removed all remaining MACHINE_CONFIG_START/END uses. [Ryan Holtz]
Diffstat (limited to 'src/emu/dislot.h')
-rw-r--r-- | src/emu/dislot.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/emu/dislot.h b/src/emu/dislot.h index 3154a056f35..da6a1b0aa3d 100644 --- a/src/emu/dislot.h +++ b/src/emu/dislot.h @@ -9,41 +9,6 @@ #ifndef MAME_EMU_DISLOT_H #define MAME_EMU_DISLOT_H -//************************************************************************** -// LEGACY MACROS -//************************************************************************** - -#define MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_option, _fixed) MCFG_SLOT_OPTION_RESET _slot_intf(dynamic_cast<device_slot_interface &>(*device)); MCFG_SLOT_DEFAULT_OPTION(_def_option) MCFG_SLOT_FIXED(_fixed) - - -//************************************************************************** -// MACROS -//************************************************************************** - -#define MCFG_SLOT_FIXED(_fixed) \ - dynamic_cast<device_slot_interface &>(*device).set_fixed(_fixed); - -#define MCFG_SLOT_DEFAULT_OPTION(_option) \ - dynamic_cast<device_slot_interface &>(*device).set_default_option(_option); - -#define MCFG_SLOT_OPTION_RESET \ - dynamic_cast<device_slot_interface &>(*device).option_reset(); - -#define MCFG_SLOT_OPTION_ADD(_option, _devtype) \ - dynamic_cast<device_slot_interface &>(*device).option_add(_option, _devtype); - -#define MCFG_SLOT_OPTION_DEFAULT_BIOS(_option, _default_bios) \ - dynamic_cast<device_slot_interface &>(*device).set_option_default_bios(_option, _default_bios); - -#define MCFG_SLOT_OPTION_MACHINE_CONFIG(_option, _machine_config_name) \ - dynamic_cast<device_slot_interface &>(*device).set_option_machine_config(_option, _machine_config_name); - -#define MCFG_SLOT_OPTION_DEVICE_INPUT_DEFAULTS(_option, _dev_inp_def) \ - dynamic_cast<device_slot_interface &>(*device).set_option_device_input_defaults(_option, DEVICE_INPUT_DEFAULTS_NAME(_dev_inp_def)); - -#define MCFG_SLOT_OPTION_CLOCK(_option, _clock) \ - dynamic_cast<device_slot_interface &>(*device).set_option_clock(_option, _clock); - //************************************************************************** // TYPE DEFINITIONS |