From 9fe597c242c914173192c6c41806cd18227271db Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Thu, 17 Jan 2019 19:37:32 +0100 Subject: [PATCH] diablo_hd: removed MCFG marco, myb3k_kbd: removed leftover (nw) --- src/devices/machine/diablo_hd.h | 3 --- src/devices/machine/myb3k_kbd.h | 3 --- src/mame/drivers/alto2.cpp | 3 ++- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/devices/machine/diablo_hd.h b/src/devices/machine/diablo_hd.h index 41f206cc531ad..93915e628e356 100644 --- a/src/devices/machine/diablo_hd.h +++ b/src/devices/machine/diablo_hd.h @@ -162,7 +162,4 @@ class diablo_hd_device : public device_t void sector_mark_0(); }; -#define MCFG_DIABLO_DRIVES_ADD() \ - MCFG_DEVICE_ADD(DIABLO_HD_0, DIABLO_HD, 3333333) \ - MCFG_DEVICE_ADD(DIABLO_HD_1, DIABLO_HD, 3333333) #endif // !defined(_DIABLO_HD_DEVICE_) diff --git a/src/devices/machine/myb3k_kbd.h b/src/devices/machine/myb3k_kbd.h index f43fc75bc6774..34c2c5cc414d7 100644 --- a/src/devices/machine/myb3k_kbd.h +++ b/src/devices/machine/myb3k_kbd.h @@ -14,9 +14,6 @@ is responsible for storing the byte into the serial/parallell converter (that can be read through IN from port 0x04) and then trigger an interrupt. - MCFG_DEVICE_ADD("myb3k_keyboard", MYB3K_KEYBOARD, 0) - MCFG_MYB3K_KEYBOARD_CB(PUT(myb3k_state, kbd_set_data_and_interrupt)) - **********************************************************************/ #ifndef MAME_MACHINE_MYB3K_KBD_H diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp index 21681a5131a9c..4bdc14402f997 100644 --- a/src/mame/drivers/alto2.cpp +++ b/src/mame/drivers/alto2.cpp @@ -305,7 +305,8 @@ MACHINE_CONFIG_START(alto2_state::alto2) MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80) - MCFG_DIABLO_DRIVES_ADD() + DIABLO_HD(config, DIABLO_HD_0, 3333333); + DIABLO_HD(config, DIABLO_HD_1, 3333333); MACHINE_CONFIG_END /* Driver Init */