Exemplo n.º 1
0
 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];
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 // Methods
 public APU(Control parent, NesEmulator NesEmu)
 {
     _Nes = NesEmu;
     this.InitDirectSound(parent);
     this.Reset();
 }
Exemplo n.º 4
0
 // Methods
 public Channel_DMC(double samplingRate, NesEmulator NesEmu)
     : base(samplingRate)
 {
     _Nes = NesEmu;
 }