diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2022-03-26 12:15:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-27 07:15:24 +1100 |
commit | 0dd5dd8f57a21786483ce203aaac1945bb23cc33 (patch) | |
tree | 1b6671c942c0ee7eacbff46510c84faf2d69ab21 /src/devices/bus/nes | |
parent | dd62ad880832e86c5cc8323e60dabeb63be17a12 (diff) |
bus/nes: Removed useless open bus comments. (#9471)
Diffstat (limited to 'src/devices/bus/nes')
-rw-r--r-- | src/devices/bus/nes/jy.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/nes/kaiser.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/mmc3.cpp | 6 | ||||
-rw-r--r-- | src/devices/bus/nes/multigame.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/namcot.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/nes/pirate.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/sunsoft.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/nes/sunsoft_dcs.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/nes/taito.cpp | 4 |
9 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/bus/nes/jy.cpp b/src/devices/bus/nes/jy.cpp index 8010fd70a1c..577c5bd306c 100644 --- a/src/devices/bus/nes/jy.cpp +++ b/src/devices/bus/nes/jy.cpp @@ -262,7 +262,7 @@ uint8_t nes_jy_typea_device::read_l(offs_t offset) return m_latch; } - return get_open_bus(); // open bus + return get_open_bus(); } void nes_jy_typea_device::write_l(offs_t offset, uint8_t data) @@ -289,7 +289,7 @@ uint8_t nes_jy_typea_device::read_m(offs_t offset) if (m_reg[0] & 0x80) return m_prg[(m_bank_6000 & m_prg_mask) * 0x2000 + (offset & 0x1fff)]; - return get_open_bus(); // open bus + return get_open_bus(); } diff --git a/src/devices/bus/nes/kaiser.cpp b/src/devices/bus/nes/kaiser.cpp index 644597dbd12..6d68862c360 100644 --- a/src/devices/bus/nes/kaiser.cpp +++ b/src/devices/bus/nes/kaiser.cpp @@ -723,7 +723,7 @@ uint8_t nes_ks7017_device::read_ex(offs_t offset) return temp; } - return get_open_bus(); // open bus + return get_open_bus(); } /*------------------------------------------------- diff --git a/src/devices/bus/nes/mmc3.cpp b/src/devices/bus/nes/mmc3.cpp index ded4c21db0e..924f206481d 100644 --- a/src/devices/bus/nes/mmc3.cpp +++ b/src/devices/bus/nes/mmc3.cpp @@ -362,7 +362,7 @@ uint8_t nes_txrom_device::read_m(offs_t offset) return m_prgram[offset & (m_prgram.size() - 1)]; } - return get_open_bus(); // open bus + return get_open_bus(); } @@ -398,10 +398,10 @@ uint8_t nes_hkrom_device::read_m(offs_t offset) LOG_MMC(("hkrom read_m, offset: %04x\n", offset)); if (offset < 0x1000) - return get_open_bus(); // open bus + return get_open_bus(); if (!(m_mmc6_reg & 0xa0)) - return get_open_bus(); // open bus + return get_open_bus(); if (BIT(offset, 9) && BIT(m_mmc6_reg, 7)) // access to upper half of 1k when upper read is enabled return m_mmc6_ram[offset & 0x3ff]; diff --git a/src/devices/bus/nes/multigame.cpp b/src/devices/bus/nes/multigame.cpp index 1a140f6175a..8c8b289b084 100644 --- a/src/devices/bus/nes/multigame.cpp +++ b/src/devices/bus/nes/multigame.cpp @@ -3138,7 +3138,7 @@ uint8_t nes_bmc_gold150_device::read_h(offs_t offset) { LOG_MMC(("bmc_gold150 read_h, offset: %04x\n", offset)); - if (m_latch) // open bus + if (m_latch) return get_open_bus(); else return hi_access_rom(offset); diff --git a/src/devices/bus/nes/namcot.cpp b/src/devices/bus/nes/namcot.cpp index cb8f0bd5b9a..36c2320f2ca 100644 --- a/src/devices/bus/nes/namcot.cpp +++ b/src/devices/bus/nes/namcot.cpp @@ -524,7 +524,7 @@ uint8_t nes_namcot175_device::read_m(offs_t offset) if (!m_battery.empty() && !m_wram_protect) return m_battery[offset & (m_battery.size() - 1)]; - return get_open_bus(); // open bus + return get_open_bus(); } void nes_namcot175_device::write_m(offs_t offset, uint8_t data) @@ -605,7 +605,7 @@ uint8_t nes_namcot163_device::read_m(offs_t offset) if (!m_battery.empty() && offset < m_battery.size()) return m_battery[offset & (m_battery.size() - 1)]; - return get_open_bus(); // open bus + return get_open_bus(); } void nes_namcot163_device::write_m(offs_t offset, uint8_t data) diff --git a/src/devices/bus/nes/pirate.cpp b/src/devices/bus/nes/pirate.cpp index 32db966505c..00ebe8ec71e 100644 --- a/src/devices/bus/nes/pirate.cpp +++ b/src/devices/bus/nes/pirate.cpp @@ -780,6 +780,6 @@ uint8_t nes_fujiya_device::read_m(offs_t offset) if (offset == 0x7001 || offset == 0x7777) return m_latch | ((offset >> 8) & 0x7f); - return get_open_bus(); // open bus + return get_open_bus(); } #endif diff --git a/src/devices/bus/nes/sunsoft.cpp b/src/devices/bus/nes/sunsoft.cpp index 8de91c95f99..809364bbe44 100644 --- a/src/devices/bus/nes/sunsoft.cpp +++ b/src/devices/bus/nes/sunsoft.cpp @@ -426,7 +426,7 @@ uint8_t nes_sunsoft_4_device::read_m(offs_t offset) if (!m_prgram.empty() && m_wram_enable) return m_prgram[offset & (m_prgram.size() - 1)]; - return get_open_bus(); // open bus + return get_open_bus(); } /*------------------------------------------------- @@ -542,7 +542,7 @@ uint8_t nes_sunsoft_fme7_device::read_m(offs_t offset) return m_prgram[((bank * 0x2000) + offset) & (m_prgram.size() - 1)]; } - return get_open_bus(); // open bus + return get_open_bus(); } diff --git a/src/devices/bus/nes/sunsoft_dcs.cpp b/src/devices/bus/nes/sunsoft_dcs.cpp index 73827474ed8..1a9e681d0df 100644 --- a/src/devices/bus/nes/sunsoft_dcs.cpp +++ b/src/devices/bus/nes/sunsoft_dcs.cpp @@ -269,7 +269,7 @@ uint8_t nes_sunsoft_dcs_device::read_m(offs_t offset) if (!m_prgram.empty() && m_wram_enable) return m_prgram[offset & (m_prgram.size() - 1)]; - return get_open_bus(); // open bus + return get_open_bus(); } diff --git a/src/devices/bus/nes/taito.cpp b/src/devices/bus/nes/taito.cpp index 8c806672a7d..b30f1196449 100644 --- a/src/devices/bus/nes/taito.cpp +++ b/src/devices/bus/nes/taito.cpp @@ -362,7 +362,7 @@ uint8_t nes_x1_005_device::read_m(offs_t offset) if (offset >= 0x1f00 && m_latch == 0xa3) return m_x1_005_ram[offset & 0x7f]; - return get_open_bus(); // open bus + return get_open_bus(); } /*------------------------------------------------- @@ -465,5 +465,5 @@ uint8_t nes_x1_017_device::read_m(offs_t offset) if (offset < 0x1400 && m_reg[2] == 0x84) return m_x1_017_ram[0x1000 + (offset & 0x3ff)]; - return get_open_bus(); // open bus + return get_open_bus(); } |