Adding a global goto but it still doesn't work with rectangle shadows

This commit is contained in:
Anonymus Raccoon
2020-02-25 02:35:07 +01:00
parent 4437df4666
commit 298f02890e
11 changed files with 91 additions and 14 deletions

View File

@@ -13,6 +13,7 @@
namespace ComSquare
{
SNES::SNES(const std::shared_ptr<Memory::MemoryBus> &bus, const std::string &romPath, Renderer::IRenderer &renderer) :
_bus(bus),
cartridge(new Cartridge::Cartridge(romPath)),
wram(new Ram::Ram(16384)),
sram(new Ram::Ram(this->cartridge->header.sramSize)),
@@ -42,7 +43,7 @@ namespace ComSquare
void SNES::enableRamViewer()
{
#ifdef DEBUGGER_ENABLED
this->_ramViewer = std::make_shared<Debugger::MemoryViewer>(*this);
this->_ramViewer = std::make_shared<Debugger::MemoryViewer>(*this, *this->_bus);
#endif
}