diff options
| author | 2017-11-09 10:10:18 -0500 | |
|---|---|---|
| committer | 2017-11-09 10:10:18 -0500 | |
| commit | 220fedf8c0ebd6c191a5f9f4d04d6d6b679b4239 (patch) | |
| tree | f510a455cd0d6965c8355acfbacb492ab16195ae /src/devices/machine/genpc.cpp | |
| parent | 3b8a6ba5d4060c1a4984746457f980109fcf5469 (diff) | |
genpc: Make maincpu tag actually configurable (nw)
Diffstat (limited to 'src/devices/machine/genpc.cpp')
| -rw-r--r-- | src/devices/machine/genpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/genpc.cpp b/src/devices/machine/genpc.cpp index 12457166cc6..6aa7524d383 100644 --- a/src/devices/machine/genpc.cpp +++ b/src/devices/machine/genpc.cpp @@ -494,7 +494,7 @@ ioport_constructor ibm5160_mb_device::device_input_ports() const void ibm5160_mb_device::static_set_cputag(device_t &device, const char *tag) { ibm5160_mb_device &board = downcast<ibm5160_mb_device &>(device); - board.m_cputag = tag; + board.m_maincpu.set_tag(tag); } //************************************************************************** @@ -517,7 +517,7 @@ ibm5160_mb_device::ibm5160_mb_device( device_t *owner, uint32_t clock) : device_t(mconfig, type, tag, owner, clock) - , m_maincpu(*owner, "maincpu") + , m_maincpu(*this, finder_base::DUMMY_TAG) , m_pic8259(*this, "pic8259") , m_pit8253(*this, "pit8253") , m_dma8237(*this, "dma8237") |
