mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Merge pull request #4088 from RisingFog/remove_globals_movie
Remove Global Declarations from Movie
This commit is contained in:
@ -1294,7 +1294,7 @@ void CFrame::OnStop(wxCommandEvent& WXUNUSED(event))
|
||||
void CFrame::OnReset(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
if (Movie::IsRecordingInput())
|
||||
Movie::g_bReset = true;
|
||||
Movie::SetReset(true);
|
||||
ProcessorInterface::ResetButton_Tap();
|
||||
}
|
||||
|
||||
|
@ -1106,11 +1106,11 @@ void TASInputDlg::SetTurbo(wxMouseEvent& event)
|
||||
// NOTE: Host / CPU Thread
|
||||
void TASInputDlg::ButtonTurbo()
|
||||
{
|
||||
static u64 frame = Movie::g_currentFrame;
|
||||
static u64 frame = Movie::GetCurrentFrame();
|
||||
|
||||
if (frame != Movie::g_currentFrame)
|
||||
if (frame != Movie::GetCurrentFrame())
|
||||
{
|
||||
frame = Movie::g_currentFrame;
|
||||
frame = Movie::GetCurrentFrame();
|
||||
for (Button* const button : m_buttons)
|
||||
{
|
||||
if (button != nullptr && button->turbo_on)
|
||||
|
Reference in New Issue
Block a user