#pragma once struct Instruction; struct Bus; #include #include struct CPUContext { Instruction& m_Instruction; uint32_t& m_InstructionPointer; uint32_t& m_Flags; uint32_t* m_Registers; std::shared_ptr m_Bus; bool& m_IsHalted; CPUContext(Instruction& i, uint32_t& ip, uint32_t& flags, uint32_t* reg, std::shared_ptr& bus, bool& isHalted); ~CPUContext(); };