summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-10 19:57:56 -0400
committerGravatar bunnei2014-04-10 19:57:56 -0400
commitfccbfc208c53ef6c3424531d8f4a42d3d23b200a (patch)
treeaaba1df03b647192f8a71ee52f5399af45a7f8e7
parentadded Memory::GetCharPointer to read strings from HLE functions (diff)
downloadyuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.gz
yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.tar.xz
yuzu-fccbfc208c53ef6c3424531d8f4a42d3d23b200a.zip
missed this file with commit 95e5436f
-rw-r--r--src/core/arm/arm_interface.h11
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:
43 virtual u32 GetReg(int index) const = 0; 43 virtual u32 GetReg(int index) const = 0;
44 44
45 /** 45 /**
46 * Set an ARM register
47 * @param index Register index (0-15)
48 * @param value Value to set register to
49 */
50 virtual void SetReg(int index, u32 value) = 0;
51
52 /**
46 * Get the current CPSR register 53 * Get the current CPSR register
47 * @return Returns the value of the CPSR register 54 * @return Returns the value of the CPSR register
48 */ 55 */
@@ -59,11 +66,13 @@ public:
59 return m_num_instructions; 66 return m_num_instructions;
60 } 67 }
61 68
62private: 69protected:
63 70
64 /// Execture next instruction 71 /// Execture next instruction
65 virtual void ExecuteInstruction() = 0; 72 virtual void ExecuteInstruction() = 0;
66 73
74private:
75
67 u64 m_num_instructions; ///< Number of instructions executed 76 u64 m_num_instructions; ///< Number of instructions executed
68 77
69 DISALLOW_COPY_AND_ASSIGN(ARM_Interface); 78 DISALLOW_COPY_AND_ASSIGN(ARM_Interface);