diff options
author | 2022-01-27 18:25:46 -0900 | |
---|---|---|
committer | 2022-01-27 22:25:46 -0500 | |
commit | 8f242bd9f8e328117bd34a6b79db08857202250e (patch) | |
tree | 3a9e5bc5b90170aaf904568566a16936af725c4e /src/devices/bus/nes/kaiser.cpp | |
parent | 93bcb228dba598148f946b3632004e3266065ebc (diff) |
bus/nes: Updated all Konami VRC boards. (#9217)
- Added missing WRAM enable bit (VRC4/6/7).
- Simplified handling of pins that connect to variable address lines (VRC2/4/6/7). VRC7's pin 19 now is configured dynamically like the others.
- For each VRC chip, masked bank numbers to reflect actual ROM size supported by pinout.
- Removed unreachable logging statements, other assorted cleanups and simplifications.
Diffstat (limited to 'src/devices/bus/nes/kaiser.cpp')
-rw-r--r-- | src/devices/bus/nes/kaiser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/nes/kaiser.cpp b/src/devices/bus/nes/kaiser.cpp index 11c48d533a1..bd4d1e2b4f4 100644 --- a/src/devices/bus/nes/kaiser.cpp +++ b/src/devices/bus/nes/kaiser.cpp @@ -526,7 +526,7 @@ void nes_ks7032_device::write_h(offs_t offset, u8 data) case 0x2000: case 0x3000: { - int shift = (offset >> 10); + int shift = 4 * BIT(offset, 12, 2); m_irq_count_latch &= ~(0x000f << shift); m_irq_count_latch |= (data & 0x0f) << shift; break; |