mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-09 04:24:58 +00:00
Finishing to clean tests and adding the start of the bus logger
This commit is contained in:
+2
-2
@@ -17,8 +17,8 @@ namespace ComSquare
|
||||
SNES::SNES(const std::string &romPath, Renderer::IRenderer &renderer) :
|
||||
_bus(std::make_shared<Memory::MemoryBus>()),
|
||||
cartridge(new Cartridge::Cartridge(romPath)),
|
||||
wram(new Ram::Ram(16384)),
|
||||
sram(new Ram::Ram(this->cartridge->header.sramSize)),
|
||||
wram(new Ram::Ram(16384, "WRam")),
|
||||
sram(new Ram::Ram(this->cartridge->header.sramSize, "SRam")),
|
||||
apuRam(new APU::MemoryMap()),
|
||||
cpu(new CPU::CPU(this->_bus, cartridge->header)),
|
||||
ppu(new PPU::PPU(renderer)),
|
||||
|
||||
Reference in New Issue
Block a user