From ef1cc2cec472d1704953ff45a633ec178a207d2d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 4 Oct 2015 15:06:31 -0400 Subject: CPU: Convert CCPU into a namespace There's not much point to a class with only static member functions. --- Source/Core/DolphinWX/FrameTools.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 2948199286..d79981b56a 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -845,10 +845,7 @@ void CFrame::OnPlay(wxCommandEvent& WXUNUSED (event)) // Core is initialized and emulator is running if (UseDebugger) { - if (CCPU::IsStepping()) - CCPU::EnableStepping(false); - else - CCPU::EnableStepping(true); // Break + CPU::EnableStepping(!CPU::IsStepping()); wxThread::Sleep(20); g_pCodeWindow->JumpToAddress(PC); -- cgit v1.2.3