summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/315-5881_crypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/315-5881_crypt.cpp')
-rw-r--r--src/mame/machine/315-5881_crypt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/315-5881_crypt.cpp b/src/mame/machine/315-5881_crypt.cpp
index eb9ceb378d5..60d5311c7d3 100644
--- a/src/mame/machine/315-5881_crypt.cpp
+++ b/src/mame/machine/315-5881_crypt.cpp
@@ -20,7 +20,7 @@
extern const device_type SEGA315_5881_CRYPT = &device_creator<sega_315_5881_crypt_device>;
-sega_315_5881_crypt_device::sega_315_5881_crypt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+sega_315_5881_crypt_device::sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA315_5881_CRYPT, "Sega 315-5881 Encryption", tag, owner, clock, "sega315_5881", __FILE__)
{
}
@@ -52,7 +52,7 @@ void sega_315_5881_crypt_device::device_start()
key = strtoll(skey.c_str(), nullptr, 16);
else
{
- logerror("%s: Warning: key not provided\n", tag().c_str());
+ logerror("%s: Warning: key not provided\n", tag());
key = 0;
}
}