Adding renderer to APU to play the samples generated

This commit is contained in:
Melefo
2021-02-02 15:46:30 +01:00
parent 0ee4575512
commit 694ea7f9d4
15 changed files with 517 additions and 376 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ namespace ComSquare
apuRam(new APU::MemoryMap()),
cpu(new CPU::CPU(this->_bus, cartridge->header)),
ppu(new PPU::PPU(renderer)),
apu(new APU::APU(this->apuRam))
apu(new APU::APU(this->apuRam, renderer))
{
this->_bus->mapComponents(*this);
}