Zero-initialize CPU state and register view
This commit is contained in:
parent
dfe8305ae7
commit
db54b903ef
|
@ -30,7 +30,7 @@
|
|||
namespace PowerPC
|
||||
{
|
||||
// STATE_TO_SAVE
|
||||
PowerPCState ppcState;
|
||||
PowerPCState ppcState{};
|
||||
|
||||
static CPUCoreBase* s_cpu_core_base = nullptr;
|
||||
static bool s_cpu_core_base_is_injected = false;
|
||||
|
|
|
@ -67,6 +67,6 @@ private:
|
|||
std::function<u64()> m_get_register;
|
||||
std::function<void(u64)> m_set_register;
|
||||
|
||||
u64 m_value;
|
||||
u64 m_value = 0;
|
||||
RegisterDisplay m_display = RegisterDisplay::Hex;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue