mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
macpds: removed unused config. nw.
This commit is contained in:
parent
479c09a79c
commit
c7accb41a2
@ -66,27 +66,6 @@ void macpds_device::static_set_cputag(device_t &device, const char *tag)
|
||||
macpds.m_cputag = tag;
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
// operations now that the configuration is
|
||||
// complete
|
||||
//-------------------------------------------------
|
||||
|
||||
void macpds_device::device_config_complete()
|
||||
{
|
||||
// inherit a copy of the static data
|
||||
const macpds_interface *intf = reinterpret_cast<const macpds_interface *>(static_config());
|
||||
if (intf != NULL)
|
||||
{
|
||||
*static_cast<macpds_interface *>(this) = *intf;
|
||||
}
|
||||
|
||||
// or initialize to defaults if none provided
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// LIVE DEVICE
|
||||
//**************************************************************************
|
||||
|
@ -18,14 +18,15 @@
|
||||
// INTERFACE CONFIGURATION MACROS
|
||||
//**************************************************************************
|
||||
|
||||
#define MCFG_MACPDS_BUS_ADD(_tag, _cputag, _config) \
|
||||
#define MCFG_MACPDS_BUS_ADD(_tag, _cputag) \
|
||||
MCFG_DEVICE_ADD(_tag, MACPDS, 0) \
|
||||
MCFG_DEVICE_CONFIG(_config) \
|
||||
macpds_device::static_set_cputag(*device, _cputag);
|
||||
|
||||
#define MCFG_MACPDS_SLOT_ADD(_nbtag, _tag, _slot_intf, _def_slot) \
|
||||
MCFG_DEVICE_ADD(_tag, MACPDS_SLOT, 0) \
|
||||
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
|
||||
macpds_slot_device::static_set_macpds_slot(*device, _nbtag, _tag);
|
||||
|
||||
#define MCFG_MACPDS_SLOT_REMOVE(_tag) \
|
||||
MCFG_DEVICE_REMOVE(_tag)
|
||||
|
||||
@ -64,17 +65,11 @@ protected:
|
||||
// device type definition
|
||||
extern const device_type MACPDS_SLOT;
|
||||
|
||||
// ======================> macpds_interface
|
||||
|
||||
struct macpds_interface
|
||||
{
|
||||
int foo;
|
||||
};
|
||||
|
||||
class device_macpds_card_interface;
|
||||
|
||||
// ======================> macpds_device
|
||||
class macpds_device : public device_t,
|
||||
public macpds_interface
|
||||
class macpds_device : public device_t
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
@ -93,7 +88,6 @@ protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_config_complete();
|
||||
|
||||
// internal state
|
||||
cpu_device *m_maincpu;
|
||||
|
@ -841,11 +841,6 @@ static const applefdc_interface mac_iwm_interface =
|
||||
sony_read_status
|
||||
};
|
||||
|
||||
static const struct macpds_interface macpds_intf =
|
||||
{
|
||||
0
|
||||
};
|
||||
|
||||
static SLOT_INTERFACE_START(mac_nubus_cards)
|
||||
SLOT_INTERFACE("m2video", NUBUS_M2VIDEO) /* Apple Macintosh II Video Card */
|
||||
SLOT_INTERFACE("48gc", NUBUS_48GC) /* Apple 4*8 Graphics Card */
|
||||
@ -1001,7 +996,7 @@ static MACHINE_CONFIG_DERIVED( macse, macplus )
|
||||
|
||||
MCFG_MACKBD_REMOVE(MACKBD_TAG)
|
||||
|
||||
MCFG_MACPDS_BUS_ADD("sepds", "maincpu", macpds_intf)
|
||||
MCFG_MACPDS_BUS_ADD("sepds", "maincpu")
|
||||
MCFG_MACPDS_SLOT_ADD("sepds", "pds", mac_sepds_cards, NULL)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user