public Mappers(NesEmulator theEngine, ref Cart theCartridge) { myEngine = theEngine; mapperCartridge = theCartridge; current_prg_rom_page = new uint[8]; current_chr_rom_page = new uint[8]; }
public PPU(NesEmulator theEngine)//, Video Vid) { // myVideo = Vid; myEngine = theEngine; nameTables = new byte[0x2000]; spriteRam = new byte[0x100]; offscreenBuffer = new short[256 * 240]; sprite0Buffer = new int[256]; RestartPPU(); }
// Methods public APU(Control parent, NesEmulator NesEmu) { _Nes = NesEmu; this.InitDirectSound(parent); this.Reset(); }
// Methods public Channel_DMC(double samplingRate, NesEmulator NesEmu) : base(samplingRate) { _Nes = NesEmu; }