diff options
author | 2018-04-28 00:01:30 +1000 | |
---|---|---|
committer | 2018-04-28 00:01:30 +1000 | |
commit | 57fd28d36a082eb0fc6ab48e4ded752eb3179976 (patch) | |
tree | 8440d006dceee816e613f8a6e366821bbea27e43 /src/devices/bus/cgenie | |
parent | cc27fb97e0aa24e734f553ce99ad6484fced8d6f (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.h | 2 |
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" |