diff options
Diffstat (limited to 'src/devices/bus/msx_slot/rom.cpp')
-rw-r--r-- | src/devices/bus/msx_slot/rom.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/msx_slot/rom.cpp b/src/devices/bus/msx_slot/rom.cpp index 394f893ea12..2d4593bed2b 100644 --- a/src/devices/bus/msx_slot/rom.cpp +++ b/src/devices/bus/msx_slot/rom.cpp @@ -7,7 +7,7 @@ const device_type MSX_SLOT_ROM = &device_creator<msx_slot_rom_device>; -msx_slot_rom_device::msx_slot_rom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +msx_slot_rom_device::msx_slot_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MSX_SLOT_ROM, "MSX Internal ROM", tag, owner, clock, "msx_slot_rom", __FILE__) , msx_internal_slot_interface() , m_region(nullptr) @@ -17,7 +17,7 @@ msx_slot_rom_device::msx_slot_rom_device(const machine_config &mconfig, std::str } -msx_slot_rom_device::msx_slot_rom_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +msx_slot_rom_device::msx_slot_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) , msx_internal_slot_interface() , m_region(nullptr) @@ -45,11 +45,11 @@ void msx_slot_rom_device::device_start() // Sanity checks if (m_rom_region == nullptr ) { - fatalerror("Rom slot '%s': Unable to find memory region '%s'\n", tag().c_str(), m_region); + fatalerror("Rom slot '%s': Unable to find memory region '%s'\n", tag(), m_region); } if (m_rom_region->bytes() < m_region_offset + m_size) { - fatalerror("Memory region '%s' is too small for rom slot '%s'\n", m_region, tag().c_str()); + fatalerror("Memory region '%s' is too small for rom slot '%s'\n", m_region, tag()); } m_rom = m_rom_region->base() + m_region_offset; |