mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-15 19:40:00 +01:00
a64_jitstate: Zero SP and PC on construction of A64JitState
Given we zero out/reset everything else in the struct, do the same for these members to keep initialization consistent
This commit is contained in:
parent
4efbd40ea4
commit
9954d28868
@ -27,8 +27,8 @@ struct A64JitState {
|
||||
A64JitState() { ResetRSB(); }
|
||||
|
||||
std::array<u64, 31> reg{};
|
||||
u64 sp;
|
||||
u64 pc;
|
||||
u64 sp = 0;
|
||||
u64 pc = 0;
|
||||
|
||||
u32 CPSR_nzcv = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user