summaryrefslogtreecommitdiff
path: root/src/CPUContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CPUContext.cpp')
-rw-r--r--src/CPUContext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CPUContext.cpp b/src/CPUContext.cpp
new file mode 100644
index 0000000..e91d581
--- /dev/null
+++ b/src/CPUContext.cpp
@@ -0,0 +1,5 @@
+#include "CPUContext.h"
+
+CPUContext::CPUContext(Instruction& i, uint32_t& ip, uint32_t& flags, uint32_t* reg, std::shared_ptr<Bus>& bus, bool& isHalted) : m_Instruction(i), m_InstructionPointer(ip), m_Flags(flags), m_Registers(reg), m_Bus(bus), m_IsHalted(isHalted) { }
+
+CPUContext::~CPUContext() = default;