diff options
| author | kotorifan <kotorifan05@gmail.com> | 2026-01-23 15:15:48 +0100 |
|---|---|---|
| committer | kotorifan <kotorifan05@gmail.com> | 2026-02-04 09:02:16 +0100 |
| commit | 32837712fedf4557ff44df7d5b8ddbd40c5f7990 (patch) | |
| tree | 671d2b82f45d5e6de70ac5d15f59ea94b884d4b6 /src/Memory.cpp | |
| download | gameboy-32837712fedf4557ff44df7d5b8ddbd40c5f7990.tar.gz | |
Stupid problems with the old git repo. New one, unfortunately.
Diffstat (limited to 'src/Memory.cpp')
| -rw-r--r-- | src/Memory.cpp | 12 |
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); + } +} |
