mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Remove Unused Framestop Functions
This commit is contained in:
parent
ba8dc2cef3
commit
54eb8c09f9
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user