Remove Unused Framestop Functions

This commit is contained in:
Chris Burgener 2016-04-05 12:19:12 -04:00
parent ba8dc2cef3
commit 54eb8c09f9
2 changed files with 0 additions and 13 deletions

View File

@ -44,7 +44,6 @@ static std::mutex cs_frameSkip;
namespace Movie {
static bool s_bFrameStep = false;
static bool s_bFrameStop = false;
static bool s_bReadOnly = true;
static u32 s_rerecords = 0;
static PlayMode s_playMode = MODE_NONE;
@ -159,11 +158,6 @@ void FrameUpdate()
s_bFrameStep = false;
}
// ("framestop") the only purpose of this is to cause interpreter/jit Run() to return temporarily.
// after that we set it back to CPU_RUNNING and continue as normal.
if (s_bFrameStop)
*PowerPC::GetStatePtr() = PowerPC::CPU_STEPPING;
if (s_framesToSkip)
FrameSkipping();
@ -176,7 +170,6 @@ void Init()
{
s_bPolled = false;
s_bFrameStep = false;
s_bFrameStop = false;
s_bSaveConfig = false;
s_iCPUCore = SConfig::GetInstance().iCPUCore;
if (IsPlayingInput())
@ -263,11 +256,6 @@ void DoFrameStep()
}
}
void SetFrameStopping(bool bEnabled)
{
s_bFrameStop = bEnabled;
}
void SetReadOnly(bool bEnabled)
{
if (s_bReadOnly != bEnabled)

View File

@ -151,7 +151,6 @@ void ChangePads(bool instantly = false);
void ChangeWiiPads(bool instantly = false);
void DoFrameStep();
void SetFrameStopping(bool bEnabled);
void SetReadOnly(bool bEnabled);
void SetFrameSkipping(unsigned int framesToSkip);