VideoBackend: Remove simple wrapper functions.

This commit is contained in:
degasus
2016-01-12 09:55:29 +01:00
parent 0c92603fd5
commit c3481a576b
9 changed files with 23 additions and 104 deletions

View File

@ -15,6 +15,7 @@
#include "Core/HW/DSP.h"
#include "Core/HW/Memmap.h"
#include "Core/PowerPC/PowerPC.h"
#include "VideoCommon/Fifo.h"
#include "VideoCommon/VideoBackendBase.h"
namespace
@ -114,7 +115,7 @@ void EnableStepping(const bool stepping)
{
PowerPC::Pause();
m_StepEvent.Reset();
g_video_backend->EmuStateChange(EMUSTATE_CHANGE_PAUSE);
EmulatorState(false);
AudioCommon::ClearAudioBuffer(true);
}
else
@ -137,7 +138,7 @@ void EnableStepping(const bool stepping)
}
PowerPC::Start();
m_StepEvent.Set();
g_video_backend->EmuStateChange(EMUSTATE_CHANGE_PLAY);
EmulatorState(true);
AudioCommon::ClearAudioBuffer(false);
}
}