Skip to main content

new_m176

Function new_m176 

Source
pub fn new_m176(
    prg_rom: Box<[u8]>,
    chr_rom: Box<[u8]>,
    mirroring: Mirroring,
    submapper: u8,
) -> Result<Fk23c, MapperError>
Expand description

Mapper 176 (8025 enhanced-MMC3 ASIC: Waixing FK23C, and FS005 on submapper 2).

submapper is the NES 2.0 submapper number. Only 2 (WAIXING-FS005/FS006) selects different behaviour; every other value – including the 0 an iNES 1.0 image implies – keeps the FK23C decode.

§Errors

MapperError::Invalid on a bad PRG/CHR size.