aboutsummaryrefslogtreecommitdiffstats
path: root/src/Memory.cpp
diff options
context:
space:
mode:
authorkotorifan <kotorifan05@gmail.com>2026-01-23 15:15:48 +0100
committerkotorifan <kotorifan05@gmail.com>2026-02-04 09:02:16 +0100
commit32837712fedf4557ff44df7d5b8ddbd40c5f7990 (patch)
tree671d2b82f45d5e6de70ac5d15f59ea94b884d4b6 /src/Memory.cpp
downloadgameboy-32837712fedf4557ff44df7d5b8ddbd40c5f7990.tar.gz
Stupid problems with the old git repo. New one, unfortunately.
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);
+ }
+}