summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/arm_interface.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 5cffe513c..39a103f7c 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -14,10 +14,6 @@ namespace Core {
14/// Generic ARM11 CPU interface 14/// Generic ARM11 CPU interface
15class ARM_Interface : NonCopyable { 15class ARM_Interface : NonCopyable {
16public: 16public:
17 ARM_Interface() {
18 num_instructions = 0;
19 }
20
21 virtual ~ARM_Interface() { 17 virtual ~ARM_Interface() {
22 } 18 }
23 19
@@ -150,7 +146,7 @@ public:
150 return num_instructions; 146 return num_instructions;
151 } 147 }
152 148
153 s64 down_count; ///< A decreasing counter of remaining cycles before the next event, decreased by the cpu run loop 149 s64 down_count = 0; ///< A decreasing counter of remaining cycles before the next event, decreased by the cpu run loop
154 150
155protected: 151protected:
156 152
@@ -162,6 +158,5 @@ protected:
162 158
163private: 159private:
164 160
165 u64 num_instructions; ///< Number of instructions executed 161 u64 num_instructions = 0; ///< Number of instructions executed
166
167}; 162};