From 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 20 Jan 2016 21:42:13 +0100 Subject: reverting: SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw) --- src/devices/machine/jvsdev.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/machine/jvsdev.cpp') 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_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)); -- cgit v1.2.3