C# 클래스 NesHd.Core.Memory.NesHeaderReader

파일 보기 프로젝트 열기: afonsof/nes-hd 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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