mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Remove Global Declarations from Movie
This commit is contained in:
parent
e98875949c
commit
222c4ba077
10 changed files with 137 additions and 84 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue