getMapper() public method

public getMapper ( ) : Mapper
return DotNES.Mappers.Mapper
Exemplo n.º 1
0
 public NESConsole(Cartridge cartridge)
 {
     this.cartridge = cartridge;
     this.mapper = cartridge.getMapper();
     this.memory = new Memory(this);
     this.cpu = new CPU(this);
     this.ppu = new PPU(this);
     this.apu = new APU();
     this.io = new IO(KeyboardController.DEFAULT_PLAYER_ONE_CONTROLLER, KeyboardController.DEFAULT_PLAYER_TWO_CONTROLLER);
     //this.io = new IO(new FM2TASController("C:\\roms\\philc2-donkeykong.fm2", 1, this), KeyboardController.DEFAULT_PLAYER_TWO_CONTROLLER);
 }
Exemplo n.º 2
0
 public NESConsole(Cartridge cartridge)
 {
     this.cartridge = cartridge;
     this.mapper    = cartridge.getMapper();
     this.memory    = new Memory(this);
     this.cpu       = new CPU(this);
     this.ppu       = new PPU(this);
     this.apu       = new APU();
     this.io        = new IO(KeyboardController.DEFAULT_PLAYER_ONE_CONTROLLER, KeyboardController.DEFAULT_PLAYER_TWO_CONTROLLER);
     //this.io = new IO(new FM2TASController("C:\\roms\\philc2-donkeykong.fm2", 1, this), KeyboardController.DEFAULT_PLAYER_TWO_CONTROLLER);
 }