diff options
Diffstat (limited to 'src/devices/machine/vrc5074.cpp')
-rw-r--r-- | src/devices/machine/vrc5074.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/devices/machine/vrc5074.cpp b/src/devices/machine/vrc5074.cpp index c695324738d..db460ecb26a 100644 --- a/src/devices/machine/vrc5074.cpp +++ b/src/devices/machine/vrc5074.cpp @@ -156,15 +156,17 @@ MACHINE_CONFIG_START(vrc5074_device::device_add_mconfig) MCFG_RS232_CTS_HANDLER(WRITELINE("uart", ns16550_device, cts_w)) MACHINE_CONFIG_END -vrc5074_device::vrc5074_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : pci_host_device(mconfig, VRC5074, tag, owner, clock), +vrc5074_device::vrc5074_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + pci_host_device(mconfig, VRC5074, tag, owner, clock), m_uart(*this, "uart"), - m_cpu_space(nullptr), m_cpu(nullptr), cpu_tag(nullptr), + m_cpu_space(nullptr), m_cpu(*this, finder_base::DUMMY_TAG), m_mem_config("memory_space", ENDIANNESS_LITTLE, 32, 32), m_io_config("io_space", ENDIANNESS_LITTLE, 32, 32), m_romRegion(*this, "rom"), m_updateRegion(*this, "update") { + set_ids_host(0x1033005a, 0x04, 0x00000000); + for (int i = 0; i < 2; i++) m_sdram_size[i] = 0x0; @@ -192,7 +194,6 @@ device_memory_interface::space_config_vector vrc5074_device::memory_space_config void vrc5074_device::device_start() { pci_host_device::device_start(); - m_cpu = machine().device<mips3_device>(cpu_tag); m_cpu_space = &m_cpu->space(AS_PROGRAM); memory_space = &space(AS_DATA); io_space = &space(AS_IO); @@ -382,13 +383,6 @@ void vrc5074_device::reset_all_mappings() pci_device::reset_all_mappings(); } -void vrc5074_device::set_cpu_tag(const char *_cpu_tag) -{ - if (LOG_NILE) - logerror("%s: set_cpu_tag\n", tag()); - cpu_tag = _cpu_tag; -} - READ32_MEMBER(vrc5074_device::sdram_addr_r) { return 0; |