aboutsummaryrefslogtreecommitdiffstats
path: root/src/Memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Memory.cpp')
-rw-r--r--src/Memory.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Memory.cpp b/src/Memory.cpp
new file mode 100644
index 0000000..c90bfb0
--- /dev/null
+++ b/src/Memory.cpp
@@ -0,0 +1,12 @@
+#include "Memory.hpp"
+#include "Common.hpp"
+#include <memory>
+
+namespace DMG01
+{
+
+ Memory::Memory()
+ {
+ this->space = std::make_unique<unsigned char[]>(0xffff);
+ }
+}