summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-10-04 15:06:31 -0400
committerLioncash <mathew1800@gmail.com>2015-10-04 15:15:10 -0400
commitef1cc2cec472d1704953ff45a633ec178a207d2d (patch)
treebbcee711522c559fca7a157f3582c49364c25614 /Source/Core/DolphinWX/Debugger
parente076de137b1ec7792914f26f0c524c6c852a6abf (diff)
CPU: Convert CCPU into a namespace
There's not much point to a class with only static member functions.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
index 3760ebd1c2..f21b56054b 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
@@ -283,11 +283,11 @@ void CCodeWindow::OnCallsListChange(wxCommandEvent& event)
void CCodeWindow::SingleStep()
{
- if (CCPU::IsStepping())
+ if (CPU::IsStepping())
{
PowerPC::breakpoints.ClearAllTemporary();
JitInterface::InvalidateICache(PC, 4, true);
- CCPU::StepOpcode(&sync_event);
+ CPU::StepOpcode(&sync_event);
wxThread::Sleep(20);
// need a short wait here
JumpToAddress(PC);
@@ -297,14 +297,14 @@ void CCodeWindow::SingleStep()
void CCodeWindow::StepOver()
{
- if (CCPU::IsStepping())
+ if (CPU::IsStepping())
{
UGeckoInstruction inst = PowerPC::HostRead_Instruction(PC);
if (inst.LK)
{
PowerPC::breakpoints.ClearAllTemporary();
PowerPC::breakpoints.Add(PC + 4, true);
- CCPU::EnableStepping(false);
+ CPU::EnableStepping(false);
JumpToAddress(PC);
Update();
}
@@ -321,7 +321,7 @@ void CCodeWindow::StepOver()
void CCodeWindow::StepOut()
{
- if (CCPU::IsStepping())
+ if (CPU::IsStepping())
{
PowerPC::breakpoints.ClearAllTemporary();
@@ -365,7 +365,7 @@ void CCodeWindow::StepOut()
void CCodeWindow::ToggleBreakpoint()
{
- if (CCPU::IsStepping())
+ if (CPU::IsStepping())
{
if (codeview) codeview->ToggleBreakpoint(codeview->GetSelection());
Update();
@@ -700,7 +700,7 @@ void CCodeWindow::UpdateButtonStates()
{
bool Initialized = (Core::GetState() != Core::CORE_UNINITIALIZED);
bool Pause = (Core::GetState() == Core::CORE_PAUSE);
- bool Stepping = CCPU::IsStepping();
+ bool Stepping = CPU::IsStepping();
wxToolBar* ToolBar = GetToolBar();
// Toolbar