diff options
| author | 0x221E <0x221E@0xinfinity.dev> | 2026-04-12 16:59:40 +0200 |
|---|---|---|
| committer | 0x221E <0x221E@0xinfinity.dev> | 2026-04-12 16:59:40 +0200 |
| commit | a66c7433c2c11b8b6c99142277ed4e16b1a2a465 (patch) | |
| tree | e54bcfb59c303acf6118fd11f06d5c0bd5f24e5d /src/CPUContext.cpp | |
Diffstat (limited to 'src/CPUContext.cpp')
| -rw-r--r-- | src/CPUContext.cpp | 5 |
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; |
