mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-27 06:45:47 +00:00
arm_interface: directly initialize class members
This commit is contained in:
parent
d03e7f08ff
commit
de9a625c7e
|
@ -14,10 +14,6 @@ namespace Core {
|
||||||
/// Generic ARM11 CPU interface
|
/// Generic ARM11 CPU interface
|
||||||
class ARM_Interface : NonCopyable {
|
class ARM_Interface : NonCopyable {
|
||||||
public:
|
public:
|
||||||
ARM_Interface() {
|
|
||||||
num_instructions = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~ARM_Interface() {
|
virtual ~ARM_Interface() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,7 +146,7 @@ public:
|
||||||
return num_instructions;
|
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:
|
protected:
|
||||||
|
|
||||||
|
@ -162,6 +158,5 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
u64 num_instructions; ///< Number of instructions executed
|
u64 num_instructions = 0; ///< Number of instructions executed
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue