summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-11-29 21:16:30 +0100
committerLioncash <mathew1800@gmail.com>2015-11-29 21:16:34 +0100
commit5e2b66d2a4c4c6d534e23108e96654dc4adf4b63 (patch)
treec902cd7fa09155fdeb06a7e55f54a22db855dfb7 /src/core/arm
parentCore/ARM11: Correct the size of the VFP register array in the ThreadContext structure. (diff)
downloadyuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.tar
yuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.tar.gz
yuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.tar.bz2
yuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.tar.lz
yuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.tar.xz
yuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.tar.zst
yuzu-5e2b66d2a4c4c6d534e23108e96654dc4adf4b63.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/skyeye_common/armstate.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/core/arm/skyeye_common/armstate.h b/src/core/arm/skyeye_common/armstate.h
index 98dad9b1f..d42ff2669 100644
--- a/src/core/arm/skyeye_common/armstate.h
+++ b/src/core/arm/skyeye_common/armstate.h
@@ -193,23 +193,23 @@ public:
return TFlag ? 2 : 4;
}
- std::array<u32, 16> Reg; // The current register file
- std::array<u32, 2> Reg_usr;
- std::array<u32, 2> Reg_svc; // R13_SVC R14_SVC
- std::array<u32, 2> Reg_abort; // R13_ABORT R14_ABORT
- std::array<u32, 2> Reg_undef; // R13 UNDEF R14 UNDEF
- std::array<u32, 2> Reg_irq; // R13_IRQ R14_IRQ
- std::array<u32, 7> Reg_firq; // R8---R14 FIRQ
- std::array<u32, 7> Spsr; // The exception psr's
- std::array<u32, CP15_REGISTER_COUNT> CP15;
+ std::array<u32, 16> Reg{}; // The current register file
+ std::array<u32, 2> Reg_usr{};
+ std::array<u32, 2> Reg_svc{}; // R13_SVC R14_SVC
+ std::array<u32, 2> Reg_abort{}; // R13_ABORT R14_ABORT
+ std::array<u32, 2> Reg_undef{}; // R13 UNDEF R14 UNDEF
+ std::array<u32, 2> Reg_irq{}; // R13_IRQ R14_IRQ
+ std::array<u32, 7> Reg_firq{}; // R8---R14 FIRQ
+ std::array<u32, 7> Spsr{}; // The exception psr's
+ std::array<u32, CP15_REGISTER_COUNT> CP15{};
// FPSID, FPSCR, and FPEXC
- std::array<u32, VFP_SYSTEM_REGISTER_COUNT> VFP;
+ std::array<u32, VFP_SYSTEM_REGISTER_COUNT> VFP{};
// VFPv2 and VFPv3-D16 has 16 doubleword registers (D0-D16 or S0-S31).
// VFPv3-D32/ASIMD may have up to 32 doubleword registers (D0-D31),
// and only 32 singleword registers are accessible (S0-S31).
- std::array<u32, 64> ExtReg;
+ std::array<u32, 64> ExtReg{};
u32 Emulate; // To start and stop emulation
u32 Cpsr; // The current PSR