diff options
author | 2022-03-23 10:16:49 -0800 | |
---|---|---|
committer | 2022-03-23 14:16:49 -0400 | |
commit | 00dedfabc90465b6183e6fee4287d3d494921aa6 (patch) | |
tree | 90a5ea2a10251901f757cefd197cae3f0c0a07ab /src/devices/bus/nes/act53.cpp | |
parent | d31fe10f921b6887e5596edc786803fa3a81c57d (diff) |
bus/nes: Simplifications using bit utility functions. (#9444)
* bus/nes: Simplifications using bit utility functions.
* Corrected UNL-KOF97 board's address decoding.
* Cleaned up Gouder board further and added missing mirroring bit. Fixes BG graphics.
Diffstat (limited to 'src/devices/bus/nes/act53.cpp')
-rw-r--r-- | src/devices/bus/nes/act53.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/nes/act53.cpp b/src/devices/bus/nes/act53.cpp index 51e2d75a7e1..2c0dee10afc 100644 --- a/src/devices/bus/nes/act53.cpp +++ b/src/devices/bus/nes/act53.cpp @@ -155,7 +155,7 @@ void nes_action53_device::write_l(offs_t offset, u8 data) LOG_MMC(("action 53 write_l, offset: %04x, data: %02x\n", offset, data)); offset += 0x100; if (offset >= 0x1000) - m_sel = BIT(data, 0) | (BIT(data, 7) << 1); + m_sel = bitswap<2>(data, 7, 0); } |