diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2022-02-20 06:30:41 -0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 02:30:41 +1100 |
commit | 9782118a7e707671808556db38a69207ce750bc5 (patch) | |
tree | 52b2554cab11825dc18c38b924f7ce922fa1860b /src/mame/machine/nes.cpp | |
parent | 180414e0765216d7277836b64aad3506003ad098 (diff) |
Various NES and friends cleanups. (#9312)
* nes.h: Removed ancient unused defines and variables.
* playch10.cpp: Removed unused shared pointer.
* vsnes.cpp: Changed BaseBall in titles to Baseball.
* bus/nes: Cleaned up various device_type comparisons and set some consts const.
* sound/nes_defs.h: Fixed a DPCM table entry that was off by one.
Diffstat (limited to 'src/mame/machine/nes.cpp')
-rw-r--r-- | src/mame/machine/nes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/nes.cpp b/src/mame/machine/nes.cpp index ed62101c4af..ddd1e5076f8 100644 --- a/src/mame/machine/nes.cpp +++ b/src/mame/machine/nes.cpp @@ -68,7 +68,7 @@ void nes_state::machine_start() space.install_write_handler(0x4100, 0x5fff, write8sm_delegate(*m_cartslot, FUNC(nes_cart_slot_device::write_l))); space.install_read_handler(0x6000, 0x7fff, read8sm_delegate(*m_cartslot, FUNC(nes_cart_slot_device::read_m))); space.install_write_handler(0x6000, 0x7fff, write8sm_delegate(*m_cartslot, FUNC(nes_cart_slot_device::write_m))); - for(int i=0; i<4; i++) + for(int i = 0; i < 4; i++) space.install_read_bank(0x8000 + 0x2000*i, 0x9fff + 0x2000*i, m_prg_bank[i]); space.install_write_handler(0x8000, 0xffff, write8sm_delegate(*m_cartslot, FUNC(nes_cart_slot_device::write_h))); |