public Ppu(Cartridge cart, Core core) { _cart = cart; _core = core; for (int i = 0; i < sOam.Length; i++) { sOam[i] = new SpriteObject(this); } }
public Core() { _cart = new Cartridge(); _cpu = new Processor(this); _ppu = new Ppu(_cart, this); _apu = new Apu(this); for (int i = 0; i < _saveStates.Length; i++) { _saveStates[i] = new Savestate(); } }