VERY experimental Nintendo Switch 2 emulator
C++
arm_interface: directly initialize class members
Lioncashdd441a3dd6ea
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.hindex 5cffe513c9..39a103f7c9 100644--- a/src/core/arm/arm_interface.h+++ b/src/core/arm/arm_interface.h@@ -14,10 +14,6 @@ namespace Core {/// Generic ARM11 CPU interfaceclass 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 loopprotected:@@ -162,6 +158,5 @@ protected:private:- u64 num_instructions; ///< Number of instructions executed-+ u64 num_instructions = 0; ///< Number of instructions executed};