diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-10-04 15:06:31 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-10-04 15:15:10 -0400 |
| commit | ef1cc2cec472d1704953ff45a633ec178a207d2d (patch) | |
| tree | bbcee711522c559fca7a157f3582c49364c25614 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | e076de137b1ec7792914f26f0c524c6c852a6abf (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/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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); |
