mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-26 07:50:04 +00:00
Adding renderer to APU to play the samples generated
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user