From fc2a0a1988ba0695fa345ee137ccc8b1efc727f9 Mon Sep 17 00:00:00 2001 From: Michael M Date: Fri, 24 Nov 2017 14:11:29 -0800 Subject: [PATCH] FIFOPlayerWindow: don't reset frame/object limit every frame --- Source/Core/DolphinQt2/FIFOPlayerWindow.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp b/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp index 2173914a18..f9eacac5bd 100644 --- a/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp +++ b/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp @@ -39,8 +39,12 @@ FIFOPlayerWindow::FIFOPlayerWindow(QWidget* parent) : QDialog(parent) FifoPlayer::GetInstance().SetFileLoadedCallback( [this] { QueueOnObject(this, &FIFOPlayerWindow::OnFIFOLoaded); }); - FifoPlayer::GetInstance().SetFrameWrittenCallback( - [this] { QueueOnObject(this, &FIFOPlayerWindow::OnFIFOLoaded); }); + FifoPlayer::GetInstance().SetFrameWrittenCallback([this] { + QueueOnObject(this, [this] { + UpdateInfo(); + UpdateControls(); + }); + }); connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) { if (state == Core::State::Running)