1 2 3 4 5 6 7 8 9 10 11 12
#include "Memory.hpp" #include "Common.hpp" #include <memory> namespace DMG01 { Memory::Memory() { this->space = std::make_unique<unsigned char[]>(0xffff); } }