public Chip8Emulator(Chip8Rom rom) { this.keyboard = new Chip8Keyboard(); this.delayTimer = new Chip8Timer(); this.soundTimer = new Chip8Timer(); this.cpu = new Chip8CPU(this); Chip8Fontset.loadFontset(); rom.load(); }
private void loadRom(Chip8Rom newRom) { this.rom = newRom; rom.load(); }