mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
mmc3.cpp: Added comment about VROM/VRAM bank numbers. (#8743)
This commit is contained in:
parent
3ff0c5c719
commit
4b64f2fe9b
@ -119,16 +119,19 @@ void nes_txrom_device::mmc3_common_initialize( int prg_mask, int chr_mask, int i
|
||||
{
|
||||
m_mmc_prg_bank[0] = m_mmc_prg_bank[2] = 0xffe; // m_mmc_prg_bank[2] & m_mmc_prg_bank[3] remain always the same in most MMC3 variants
|
||||
m_mmc_prg_bank[1] = m_mmc_prg_bank[3] = 0xfff; // but some pirate clone mappers change them after writing certain registers
|
||||
|
||||
// Point CHR banks to the first 8K of memory. This is needed for a few unlicensed carts that use VRAM and don't init banks properly.
|
||||
// This includes at least some Waixing games, EverQuest and Sanguozhi, and some multicarts, New Star 6 in 1 and Famicom Yarou Vol 1.
|
||||
m_mmc_vrom_bank[0] = 0;
|
||||
m_mmc_vrom_bank[1] = 2;
|
||||
m_mmc_vrom_bank[2] = 4;
|
||||
m_mmc_vrom_bank[3] = 5;
|
||||
m_mmc_vrom_bank[4] = 6;
|
||||
m_mmc_vrom_bank[5] = 7;
|
||||
m_mmc_vrom_bank[6] = 0;
|
||||
m_mmc_vrom_bank[7] = 0;
|
||||
m_mmc_mirror = 0;
|
||||
m_mmc_vrom_bank[6] = 0; // extension reg used by clone boards
|
||||
m_mmc_vrom_bank[7] = 0; // extension reg used by clone boards
|
||||
|
||||
m_mmc_mirror = 0;
|
||||
m_latch = 0;
|
||||
m_wram_protect = 0x80;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user