summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/cr589.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/cr589.cpp')
-rw-r--r--src/devices/machine/cr589.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/cr589.cpp b/src/devices/machine/cr589.cpp
index 99f90c257ce..6142f75ee7a 100644
--- a/src/devices/machine/cr589.cpp
+++ b/src/devices/machine/cr589.cpp
@@ -4,8 +4,8 @@
#include "cr589.h"
-static const int identity_offset = 0x3ab;
-static const char download_identity[] = "MATSHITA CD98Q4 DOWNLOADGS0N";
+static constexpr int identity_offset = 0x3ab;
+static constexpr char download_identity[] = "MATSHITA CD98Q4 DOWNLOADGS0N";
//-------------------------------------------------
// nvram_default - called to initialize NVRAM to
@@ -138,10 +138,10 @@ void matsushita_cr589_device::WriteData( uint8_t *data, int dataLength )
}
// device type definition
-const device_type CR589 = device_creator<matsushita_cr589_device>;
+DEFINE_DEVICE_TYPE(CR589, matsushita_cr589_device, "cr589", "Matsushita CR589 CD-ROM Drive")
matsushita_cr589_device::matsushita_cr589_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- atapi_cdrom_device(mconfig, CR589, "Matsushita CR589 CD-ROM Drive", tag, owner, clock, "cr589", __FILE__),
+ atapi_cdrom_device(mconfig, CR589, tag, owner, clock),
device_nvram_interface(mconfig, *this)
{
}