mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Remove Global Declarations from Movie
This commit is contained in:
@ -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