diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-11 01:57:56 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-11 01:57:56 +0200 |
commit | fccbfc208c53ef6c3424531d8f4a42d3d23b200a (patch) | |
tree | aaba1df03b647192f8a71ee52f5399af45a7f8e7 /src/core | |
parent | added Memory::GetCharPointer to read strings from HLE functions (diff) | |
download | yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.gz yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.bz2 yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.lz yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.xz yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.zst yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/arm/arm_interface.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index dafde8368..eee4726db 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -43,6 +43,13 @@ public: virtual u32 GetReg(int index) const = 0; /** + * Set an ARM register + * @param index Register index (0-15) + * @param value Value to set register to + */ + virtual void SetReg(int index, u32 value) = 0; + + /** * Get the current CPSR register * @return Returns the value of the CPSR register */ @@ -59,11 +66,13 @@ public: return m_num_instructions; } -private: +protected: /// Execture next instruction virtual void ExecuteInstruction() = 0; +private: + u64 m_num_instructions; ///< Number of instructions executed DISALLOW_COPY_AND_ASSIGN(ARM_Interface); |