summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/jvsdev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/jvsdev.cpp')
-rw-r--r--src/devices/machine/jvsdev.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/devices/machine/jvsdev.cpp b/src/devices/machine/jvsdev.cpp
index 20c3e538c5a..f55a836cd01 100644
--- a/src/devices/machine/jvsdev.cpp
+++ b/src/devices/machine/jvsdev.cpp
@@ -2,12 +2,10 @@
// copyright-holders:Olivier Galibert
#include "emu.h"
#include "jvsdev.h"
-#include "jvshost.h"
jvs_device::jvs_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, type, tag, owner, clock), jvs_outputs(0), jvs_address(0), jvs_reset_counter(0)
+ : device_t(mconfig, type, tag, owner, clock), jvs_outputs(0), host(*this, finder_base::DUMMY_TAG), jvs_address(0), jvs_reset_counter(0)
{
- jvs_host_tag = nullptr;
next_device = nullptr;
}
@@ -188,9 +186,6 @@ bool jvs_device::get_address_set_line()
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);
host->add_device(this);
save_item(NAME(jvs_address));