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/mconfig.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/mconfig.h')
-rw-r--r-- | src/emu/mconfig.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/emu/mconfig.h b/src/emu/mconfig.h index 16f431a9eb8..cf683c8b1c8 100644 --- a/src/emu/mconfig.h +++ b/src/emu/mconfig.h @@ -216,42 +216,5 @@ inline std::enable_if_t<emu::detail::is_device_interface<typename std::remove_re } } // namespace emu::detail - -//*************************************************************************/ -/** @name Machine config start/end macros */ -//*************************************************************************/ - -/** - @def MACHINE_CONFIG_START(_name) - Begins a device machine configuration member - @param _name name of this config - @hideinitializer -*/ -#define MACHINE_CONFIG_START(_name) \ -ATTR_COLD void _name(machine_config &config) \ -{ \ - device_t *device = nullptr; \ - (void)device; \ - -/** -@def MACHINE_CONFIG_END -Ends a machine_config. -@hideinitializer -*/ -#define MACHINE_CONFIG_END \ -} - -//*************************************************************************/ -/** @name Core machine config options */ -//*************************************************************************/ - -// add/remove devices -#define MCFG_DEVICE_ADD(_tag, ...) \ - device = emu::detail::device_add_impl(config, _tag, __VA_ARGS__); -#define MCFG_DEVICE_REPLACE(_tag, ...) \ - device = emu::detail::device_replace_impl(config, _tag, __VA_ARGS__); -#define MCFG_DEVICE_MODIFY(_tag) \ - device = config.device_find(this, _tag); - #endif /* MAME_EMU_MCONFIG_H */ /** @} */ |