summaryrefslogtreecommitdiffstats
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-21 00:52:54 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-21 00:52:54 +0200
commit001280245685ade50326301409e8aee28602504d (patch)
treea3598687392ad07bd69b93ab94fff7c6a78353b3 /src/core/arm/arm_interface.h
parentARM_Interface: added SaveContext and LoadContext functions for HLE thread switching (diff)
downloadyuzu-001280245685ade50326301409e8aee28602504d.tar
yuzu-001280245685ade50326301409e8aee28602504d.tar.gz
yuzu-001280245685ade50326301409e8aee28602504d.tar.bz2
yuzu-001280245685ade50326301409e8aee28602504d.tar.lz
yuzu-001280245685ade50326301409e8aee28602504d.tar.xz
yuzu-001280245685ade50326301409e8aee28602504d.tar.zst
yuzu-001280245685ade50326301409e8aee28602504d.zip
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 52bc82115..b73786ccd 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -13,7 +13,7 @@
class ARM_Interface : NonCopyable {
public:
ARM_Interface() {
- m_num_instructions = 0;
+ num_instructions = 0;
}
~ARM_Interface() {
@@ -25,7 +25,7 @@ public:
*/
void Run(int num_instructions) {
ExecuteInstructions(num_instructions);
- m_num_instructions += num_instructions;
+ num_instructions += num_instructions;
}
/// Step CPU by one instruction
@@ -89,9 +89,9 @@ public:
*/
virtual void LoadContext(const ThreadContext& ctx) = 0;
- /// Getter for m_num_instructions
+ /// Getter for num_instructions
u64 GetNumInstructions() {
- return m_num_instructions;
+ return num_instructions;
}
protected:
@@ -104,6 +104,6 @@ protected:
private:
- u64 m_num_instructions; ///< Number of instructions executed
+ u64 num_instructions; ///< Number of instructions executed
};