summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/spchrom.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:42:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:42:13 +0100
commit4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch)
tree25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/devices/machine/spchrom.cpp
parent3a8ccb89b426509be06089a19c51ecf55567ed1b (diff)
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/devices/machine/spchrom.cpp')
-rw-r--r--src/devices/machine/spchrom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/spchrom.cpp b/src/devices/machine/spchrom.cpp
index dab4f65e7a9..542be5b4ded 100644
--- a/src/devices/machine/spchrom.cpp
+++ b/src/devices/machine/spchrom.cpp
@@ -25,7 +25,7 @@
// device type definition
const device_type SPEECHROM = &device_creator<speechrom_device>;
-speechrom_device::speechrom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+speechrom_device::speechrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__), m_speechrom_data(nullptr), m_speechROMlen(0),
m_speechROMaddr(0),
m_load_pointer(0),
@@ -127,7 +127,7 @@ void speechrom_device::device_start()
memory_region *region = memregion(tag());
if (region == nullptr)
{
- throw emu_fatalerror("No region for device '%s'\n", tag().c_str());
+ throw emu_fatalerror("No region for device '%s'\n", tag());
}
m_speechrom_data = region->base();