summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/msx_slot/fs4600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_slot/fs4600.cpp')
-rw-r--r--src/devices/bus/msx_slot/fs4600.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/msx_slot/fs4600.cpp b/src/devices/bus/msx_slot/fs4600.cpp
index e6d6d8b9b9f..0cae82694a4 100644
--- a/src/devices/bus/msx_slot/fs4600.cpp
+++ b/src/devices/bus/msx_slot/fs4600.cpp
@@ -11,7 +11,7 @@
const device_type MSX_SLOT_FS4600 = &device_creator<msx_slot_fs4600_device>;
-msx_slot_fs4600_device::msx_slot_fs4600_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+msx_slot_fs4600_device::msx_slot_fs4600_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MSX_SLOT_FS4600, "MSX Internal FS4600 Firmware", tag, owner, clock, "msx_slot_fs4600", __FILE__)
, msx_internal_slot_interface()
, m_nvram(*this, "nvram")
@@ -59,7 +59,7 @@ void msx_slot_fs4600_device::device_start()
// Sanity checks
if (m_rom_region == nullptr )
{
- fatalerror("Rom slot '%s': Unable to find memory region '%s'\n", tag(), m_region);
+ fatalerror("Rom slot '%s': Unable to find memory region '%s'\n", tag().c_str(), m_region);
}
if (m_rom_region->bytes() < m_region_offset + 0x100000)
{