Skip to main content

mapper_tier

Function mapper_tier 

Source
pub const fn mapper_tier(id: u16, submapper: u8) -> Option<MapperTier>
Expand description

Classify a mapper family by its iNES id and NES 2.0 submapper into a MapperTier.

Returns None for any id that crate::parse does not support — the two sets are kept in lockstep, so a supported mapper always has a tier and an unsupported one never does.

The submapper argument was reserved from the start for the case where one variant of a family carries less evidence than the family as a whole. Mapper 176 submapper 2 is the first family to use it (v2.3.4): the 8025’s submappers are documented as mutually incompatible boards, and WAIXING-FS005 is a distinct board whose evidence is its own — see the match arm below.