From 1ee9ceb5af72bad5e511b5329d158e9d252a6882 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 17 Sep 2020 13:03:47 -0400 Subject: arm_dynarmic_cp15: Initialize member variables Ensures that the member variables are always initialized to a deterministic value on creation. --- src/core/arm/dynarmic/arm_dynarmic_cp15.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/arm/dynarmic/arm_dynarmic_cp15.h b/src/core/arm/dynarmic/arm_dynarmic_cp15.h index 7356d252e..dc6f4af3a 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_cp15.h +++ b/src/core/arm/dynarmic/arm_dynarmic_cp15.h @@ -35,8 +35,8 @@ public: std::optional option) override; ARM_Dynarmic_32& parent; - u32 uprw; - u32 uro; + u32 uprw = 0; + u32 uro = 0; }; } // namespace Core -- cgit v1.2.3