diff options
| author | 2016-01-16 12:24:11 +0100 | |
|---|---|---|
| committer | 2016-01-16 14:54:42 +0100 | |
| commit | 1f90ceab075c4869298e963bf0a14a0aac2f1caa (patch) | |
| tree | 49984b30e3c6da6a0be068dbfcd02882bdafdc08 /src/devices/machine/jvsdev.cpp | |
| parent | 34161178c431b018cba0d0286951c69aee80e968 (diff) | |
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
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 c70f8a9fce6..e5884362f62 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, const char *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, std::string 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(), jvs_host_tag); + fatalerror("JVS device %s could not find JVS host %s\n", tag().c_str(), jvs_host_tag); host->add_device(this); save_item(NAME(jvs_address)); |
