diff options
Diffstat (limited to 'src/devices/machine/jvsdev.cpp')
-rw-r--r-- | src/devices/machine/jvsdev.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/jvsdev.cpp b/src/devices/machine/jvsdev.cpp index e5884362f62..c70f8a9fce6 100644 --- a/src/devices/machine/jvsdev.cpp +++ b/src/devices/machine/jvsdev.cpp @@ -9,7 +9,7 @@ void jvs_device::static_set_jvs_host_tag(device_t &device, const char *jvs_host_ jvsdev.jvs_host_tag = jvs_host_tag; } -jvs_device::jvs_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) +jvs_device::jvs_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), jvs_outputs(0), jvs_address(0), jvs_reset_counter(0) { jvs_host_tag = nullptr; @@ -195,7 +195,7 @@ void jvs_device::device_start() { jvs_host *host = machine().device<jvs_host>(jvs_host_tag); if(!host) - fatalerror("JVS device %s could not find JVS host %s\n", tag().c_str(), jvs_host_tag); + fatalerror("JVS device %s could not find JVS host %s\n", tag(), jvs_host_tag); host->add_device(this); save_item(NAME(jvs_address)); |