C# Класс NesHd.Core.Memory.NesHeaderReader

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ChrRomPageCount int
FilePath string
FourScreenVRamLayout bool
MemoryMapper int
PrgRomPageCount int
SRamEnabled bool
SupportedMappersNo int[]
TrainerPresent512 bool
ValidRom bool
VerticalMirroring bool

Открытые методы

Метод Описание
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

Описание методов

GetMapperName() публичный Метод

public GetMapperName ( ) : string
Результат string

GetMapperName() публичный статический Метод

public static GetMapperName ( int mapperNo ) : string
mapperNo int
Результат string

NesHeaderReader() публичный Метод

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
Результат System.IO

SupportedMapper() публичный Метод

public SupportedMapper ( ) : bool
Результат bool

SupportedMapper() публичный Метод

public SupportedMapper ( int mapperNo ) : bool
mapperNo int
Результат bool

Описание свойств

ChrRomPageCount публичное свойство

public int ChrRomPageCount
Результат int

FilePath публичное свойство

public string FilePath
Результат string

FourScreenVRamLayout публичное свойство

public bool FourScreenVRamLayout
Результат bool

MemoryMapper публичное свойство

public int MemoryMapper
Результат int

PrgRomPageCount публичное свойство

public int PrgRomPageCount
Результат int

SRamEnabled публичное свойство

public bool SRamEnabled
Результат bool

SupportedMappersNo публичное статическое свойство

public static int[] SupportedMappersNo
Результат int[]

TrainerPresent512 публичное свойство

public bool TrainerPresent512
Результат bool

ValidRom публичное свойство

public bool ValidRom
Результат bool

VerticalMirroring публичное свойство

public bool VerticalMirroring
Результат bool