summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cgenie
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-04-28 00:01:30 +1000
committer Vas Crabb <vas@vastheman.com>2018-04-28 00:01:30 +1000
commit57fd28d36a082eb0fc6ab48e4ded752eb3179976 (patch)
tree8440d006dceee816e613f8a6e366821bbea27e43 /src/devices/bus/cgenie
parentcc27fb97e0aa24e734f553ce99ad6484fced8d6f (diff)
Sarayan made me do it.
Concrete device types now have a call operator that instantiates a device. This change means you *must* use DECLARE_DEVICE_TYPE to declare the public interface of your device, even if it's device_t. If you want to use private implementation classes, use DEFINE_DEVICE_TYPE_PRIVATE and instantiate the object finders.
Diffstat (limited to 'src/devices/bus/cgenie')
-rw-r--r--src/devices/bus/cgenie/expansion/expansion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/cgenie/expansion/expansion.h b/src/devices/bus/cgenie/expansion/expansion.h
index cc7a6b04828..1e01a3f64a1 100644
--- a/src/devices/bus/cgenie/expansion/expansion.h
+++ b/src/devices/bus/cgenie/expansion/expansion.h
@@ -115,7 +115,7 @@ protected:
};
// device type definition
-extern const device_type CG_EXP_SLOT;
+DECLARE_DEVICE_TYPE(CG_EXP_SLOT, cg_exp_slot_device)
// include here so drivers don't need to
#include "carts.h"