Implementing a rectangle memory accesor for the Cartridge (for the LoRom)

This commit is contained in:
AnonymusRaccoon
2020-01-29 18:03:29 +01:00
parent 589252b34e
commit 6429e9a284
17 changed files with 234 additions and 74 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#include "../SNES.hpp"
#include "MemoryShadow.hpp"
namespace ComSquare
namespace ComSquare::Memory
{
std::shared_ptr<IMemory> MemoryBus::getAccessor(uint24_t addr)
{
@@ -78,6 +78,6 @@ namespace ComSquare
for (uint24_t i = 0x800000; i < 0xC00000; i += 0x10000)
this->_mirrorComponents(console, i);
// TODO should map sram, cartridge etc via the mapping mode of the cartridge.
// TODO should map SRam, cartridge etc via the mapping mode of the cartridge.
}
}