Permalink
Browse files

Zero-initialize CPU state and register view

  • Loading branch information...
Tilka committed Oct 9, 2018
1 parent dfe8305 commit db54b903ef8e2f9407be063c967d47f7c806db1f
Showing with 2 additions and 2 deletions.
  1. +1 −1 Source/Core/Core/PowerPC/PowerPC.cpp
  2. +1 −1 Source/Core/DolphinQt/Debugger/RegisterColumn.h
@@ -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 @@ class RegisterColumn : public QTableWidgetItem
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;
};

0 comments on commit db54b90

Please sign in to comment.