diff options
Diffstat (limited to 'src/emu/machine/vrc4373.c')
-rw-r--r-- | src/emu/machine/vrc4373.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/emu/machine/vrc4373.c b/src/emu/machine/vrc4373.c index b1e5c6e8928..e91c2f2a8c4 100644 --- a/src/emu/machine/vrc4373.c +++ b/src/emu/machine/vrc4373.c @@ -111,7 +111,7 @@ void vrc4373_device::map_extra(UINT64 memory_window_start, UINT64 memory_window_ if (LOG_NILE) logerror("%s: map_extra Master Window 2 start=%08X end=%08X size=%08X laddr=%08X\n", tag(), winStart, winEnd, winSize, m_pci2_laddr); } - // PCI IO Window + // PCI IO Window if (m_cpu_regs[NREG_PCIMIOW]&0x1000) { winStart = m_cpu_regs[NREG_PCIMIOW]&0xff000000; winEnd = winStart | (~(0x80000000 | (((m_cpu_regs[NREG_PCIMIOW]>>13)&0x7f)<<24))); @@ -122,7 +122,7 @@ void vrc4373_device::map_extra(UINT64 memory_window_start, UINT64 memory_window_ logerror("%s: map_extra IO Window start=%08X end=%08X size=%08X laddr=%08X\n", tag(), winStart, winEnd, winSize, m_pci_io_laddr); } // PCI Target Window 1 - if (m_cpu_regs[NREG_PCITW1]&0x1000) { + if (m_cpu_regs[NREG_PCITW1]&0x1000) { winStart = m_cpu_regs[NREG_PCITW1]&0xffe00000; winEnd = winStart | (~(0xf0000000 | (((m_cpu_regs[NREG_PCITW1]>>13)&0x7f)<<21))); winSize = winEnd - winStart + 1; @@ -242,7 +242,7 @@ WRITE32_MEMBER (vrc4373_device::target2_w) logerror("%06X:nile target2 write to offset %02X = %08X & %08X\n", space.device().safe_pc(), offset*4, data, mem_mask); } -// CPU I/F +// CPU I/F READ32_MEMBER (vrc4373_device::cpu_if_r) { UINT32 result = m_cpu_regs[offset]; @@ -290,7 +290,7 @@ WRITE32_MEMBER(vrc4373_device::cpu_if_w) case NREG_PCICAR: // Bits in reserved area are used for device selection of type 0 config transactions // Assuming 23:11 get mapped into device number for configuration - if ((data&0x3) == 0x0) { + if ((data&0x3) == 0x0) { // Type 0 transaction modData = 0; // Select the device based on one hot bit @@ -341,4 +341,3 @@ WRITE32_MEMBER(vrc4373_device::cpu_if_w) } } - |