diff options
Diffstat (limited to 'src/devices/imagedev/cassette.cpp')
-rw-r--r-- | src/devices/imagedev/cassette.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/imagedev/cassette.cpp b/src/devices/imagedev/cassette.cpp index 6054082a764..20c4b919453 100644 --- a/src/devices/imagedev/cassette.cpp +++ b/src/devices/imagedev/cassette.cpp @@ -17,14 +17,14 @@ #define LOG(x) do { if (VERBOSE) logerror x; } while (0) // device type definition -const device_type CASSETTE = device_creator<cassette_image_device>; +DEFINE_DEVICE_TYPE(CASSETTE, cassette_image_device, "cassette_image", "Cassette") //------------------------------------------------- // cassette_image_device - constructor //------------------------------------------------- cassette_image_device::cassette_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock, "cassette_image", __FILE__), + : device_t(mconfig, CASSETTE, tag, owner, clock), device_image_interface(mconfig, *this), m_cassette(nullptr), m_state(CASSETTE_STOPPED), |