mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Zero-initialize CPU state and register view
This commit is contained in:
parent
dfe8305ae7
commit
db54b903ef
@ -30,7 +30,7 @@
|
|||||||
namespace PowerPC
|
namespace PowerPC
|
||||||
{
|
{
|
||||||
// STATE_TO_SAVE
|
// STATE_TO_SAVE
|
||||||
PowerPCState ppcState;
|
PowerPCState ppcState{};
|
||||||
|
|
||||||
static CPUCoreBase* s_cpu_core_base = nullptr;
|
static CPUCoreBase* s_cpu_core_base = nullptr;
|
||||||
static bool s_cpu_core_base_is_injected = false;
|
static bool s_cpu_core_base_is_injected = false;
|
||||||
|
@ -67,6 +67,6 @@ private:
|
|||||||
std::function<u64()> m_get_register;
|
std::function<u64()> m_get_register;
|
||||||
std::function<void(u64)> m_set_register;
|
std::function<void(u64)> m_set_register;
|
||||||
|
|
||||||
u64 m_value;
|
u64 m_value = 0;
|
||||||
RegisterDisplay m_display = RegisterDisplay::Hex;
|
RegisterDisplay m_display = RegisterDisplay::Hex;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user