diff options
| author | 2014-05-20 18:52:54 -0400 | |
|---|---|---|
| committer | 2014-05-20 18:52:54 -0400 | |
| commit | 001280245685ade50326301409e8aee28602504d (patch) | |
| tree | a3598687392ad07bd69b93ab94fff7c6a78353b3 /src/core/arm/arm_interface.h | |
| parent | ARM_Interface: added SaveContext and LoadContext functions for HLE thread swi... (diff) | |
| download | yuzu-001280245685ade50326301409e8aee28602504d.tar.gz yuzu-001280245685ade50326301409e8aee28602504d.tar.xz yuzu-001280245685ade50326301409e8aee28602504d.zip | |
ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent with style guide
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 10 |
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 @@ | |||
| 13 | class ARM_Interface : NonCopyable { | 13 | class ARM_Interface : NonCopyable { |
| 14 | public: | 14 | public: |
| 15 | ARM_Interface() { | 15 | ARM_Interface() { |
| 16 | m_num_instructions = 0; | 16 | num_instructions = 0; |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | ~ARM_Interface() { | 19 | ~ARM_Interface() { |
| @@ -25,7 +25,7 @@ public: | |||
| 25 | */ | 25 | */ |
| 26 | void Run(int num_instructions) { | 26 | void Run(int num_instructions) { |
| 27 | ExecuteInstructions(num_instructions); | 27 | ExecuteInstructions(num_instructions); |
| 28 | m_num_instructions += num_instructions; | 28 | num_instructions += num_instructions; |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | /// Step CPU by one instruction | 31 | /// Step CPU by one instruction |
| @@ -89,9 +89,9 @@ public: | |||
| 89 | */ | 89 | */ |
| 90 | virtual void LoadContext(const ThreadContext& ctx) = 0; | 90 | virtual void LoadContext(const ThreadContext& ctx) = 0; |
| 91 | 91 | ||
| 92 | /// Getter for m_num_instructions | 92 | /// Getter for num_instructions |
| 93 | u64 GetNumInstructions() { | 93 | u64 GetNumInstructions() { |
| 94 | return m_num_instructions; | 94 | return num_instructions; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | protected: | 97 | protected: |
| @@ -104,6 +104,6 @@ protected: | |||
| 104 | 104 | ||
| 105 | private: | 105 | private: |
| 106 | 106 | ||
| 107 | u64 m_num_instructions; ///< Number of instructions executed | 107 | u64 num_instructions; ///< Number of instructions executed |
| 108 | 108 | ||
| 109 | }; | 109 | }; |