C# Class NesHd.Core.Memory.NesHeaderReader

Afficher le fichier Open project: afonsof/nes-hd Class Usage Examples

Méthodes publiques

Свойство Type Description
ChrRomPageCount int
FilePath string
FourScreenVRamLayout bool
MemoryMapper int
PrgRomPageCount int
SRamEnabled bool
SupportedMappersNo int[]
TrainerPresent512 bool
ValidRom bool
VerticalMirroring bool

Méthodes publiques

Méthode Description
GetMapperName ( ) : string
GetMapperName ( int mapperNo ) : string
NesHeaderReader ( string fileName ) : System.IO

This class used only for reading the header of INES rom format file, so you can use it ONLY for browser, to check the validate of rom and to detected rom info like mapper #. I uses this in browser while reading a rom, 'cause it's faster (it doesn't load any PRG or CHR). IMPORTANT : when you add / update a mapper don't forget to assign it here (in SupportedMappersNo & SupportedMapper()) to make it available.

SupportedMapper ( ) : bool
SupportedMapper ( int mapperNo ) : bool

Method Details

GetMapperName() public méthode

public GetMapperName ( ) : string
Résultat string

GetMapperName() public static méthode

public static GetMapperName ( int mapperNo ) : string
mapperNo int
Résultat string

NesHeaderReader() public méthode

This class used only for reading the header of INES rom format file, so you can use it ONLY for browser, to check the validate of rom and to detected rom info like mapper #. I uses this in browser while reading a rom, 'cause it's faster (it doesn't load any PRG or CHR). IMPORTANT : when you add / update a mapper don't forget to assign it here (in SupportedMappersNo & SupportedMapper()) to make it available.
public NesHeaderReader ( string fileName ) : System.IO
fileName string The rom file to check
Résultat System.IO

SupportedMapper() public méthode

public SupportedMapper ( ) : bool
Résultat bool

SupportedMapper() public méthode

public SupportedMapper ( int mapperNo ) : bool
mapperNo int
Résultat bool

Property Details

ChrRomPageCount public_oe property

public int ChrRomPageCount
Résultat int

FilePath public_oe property

public string FilePath
Résultat string

FourScreenVRamLayout public_oe property

public bool FourScreenVRamLayout
Résultat bool

MemoryMapper public_oe property

public int MemoryMapper
Résultat int

PrgRomPageCount public_oe property

public int PrgRomPageCount
Résultat int

SRamEnabled public_oe property

public bool SRamEnabled
Résultat bool

SupportedMappersNo public_oe static_oe property

public static int[] SupportedMappersNo
Résultat int[]

TrainerPresent512 public_oe property

public bool TrainerPresent512
Résultat bool

ValidRom public_oe property

public bool ValidRom
Résultat bool

VerticalMirroring public_oe property

public bool VerticalMirroring
Résultat bool