summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/a2eauxslot.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-11-01 00:47:41 +1100
committer Vas Crabb <vas@vastheman.com>2019-11-01 00:47:41 +1100
commit6f4c1f6e5b2525ac8b700b3a0754f5e99c4223e1 (patch)
tree4b0e0ac5cf1c3a7fd518a7d8f4d12f39291b2629 /src/devices/bus/a2bus/a2eauxslot.h
parent0be348c7fbc8c0478f724ba098dabeb9eb3aab8c (diff)
Spring cleaning:
* Changed emu_fatalerror to use util::string_format semantics * Fixed some incorrectly marked up stuff in build scripts * Make internal layout compression type a scoped enum (only zlib is supported still, but at least the values aren't magic numbers now) * Fixed memory leaks in Xbox USB * There can only be one "perfect quantum" device - enforce that only the root machine can set it, as allowing subdevices to will cause weird issues with slot cards overiding it * Allow multiple devices to set maximum quantum and use the most restrictive one (it's maximum quantum, it would be minimum interleave) * Got rid of device_slot_card_interface as it wasn't providing value * Added a helper template to reduce certain kinds of boilerplate in slots/buses * Cleaned up some particularly bad slot code (plenty more of that to do), and made some slots more idiomatic
Diffstat (limited to 'src/devices/bus/a2bus/a2eauxslot.h')
-rw-r--r--src/devices/bus/a2bus/a2eauxslot.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/a2bus/a2eauxslot.h b/src/devices/bus/a2bus/a2eauxslot.h
index 4351bc6112a..4dde6277169 100644
--- a/src/devices/bus/a2bus/a2eauxslot.h
+++ b/src/devices/bus/a2bus/a2eauxslot.h
@@ -21,9 +21,11 @@
//**************************************************************************
class a2eauxslot_device;
+class device_a2eauxslot_card_interface;
+
class a2eauxslot_slot_device : public device_t,
- public device_slot_interface
+ public device_single_card_slot_interface<device_a2eauxslot_card_interface>
{
public:
// construction/destruction
@@ -55,8 +57,6 @@ protected:
DECLARE_DEVICE_TYPE(A2EAUXSLOT_SLOT, a2eauxslot_slot_device)
-class device_a2eauxslot_card_interface;
-
// ======================> a2eauxslot_device
class a2eauxslot_device : public device_t
{
@@ -101,7 +101,7 @@ DECLARE_DEVICE_TYPE(A2EAUXSLOT, a2eauxslot_device)
// ======================> device_a2eauxslot_card_interface
// class representing interface-specific live a2eauxslot card
-class device_a2eauxslot_card_interface : public device_slot_card_interface
+class device_a2eauxslot_card_interface : public device_interface
{
friend class a2eauxslot_device;
public: