summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-12-06 21:07:00 +0100
committerLioncash <mathew1800@gmail.com>2015-12-06 21:07:00 +0100
commitde9a625c7eaa58b2aae6ec7a0d248612f012aa98 (patch)
treec7070b6a9a609de6635eb72423c4b2040d95da4e /src/core
parentdyncom: const correctness changes (diff)
downloadyuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.tar
yuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.tar.gz
yuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.tar.bz2
yuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.tar.lz
yuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.tar.xz
yuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.tar.zst
yuzu-de9a625c7eaa58b2aae6ec7a0d248612f012aa98.zip
Diffstat (limited to 'src/core')
-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 {
/// Generic ARM11 CPU interface
class ARM_Interface : NonCopyable {
public:
- ARM_Interface() {
- num_instructions = 0;
- }
-
virtual ~ARM_Interface() {
}
@@ -150,7 +146,7 @@ public:
return num_instructions;
}
- s64 down_count; ///< A decreasing counter of remaining cycles before the next event, decreased by the cpu run loop
+ s64 down_count = 0; ///< A decreasing counter of remaining cycles before the next event, decreased by the cpu run loop
protected:
@@ -162,6 +158,5 @@ protected:
private:
- u64 num_instructions; ///< Number of instructions executed
-
+ u64 num_instructions = 0; ///< Number of instructions executed
};