summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-12-04 12:05:33 +0100
committerGitHub <noreply@github.com>2017-12-04 12:05:33 +0100
commit08da19fc87fc69d241a2d61e437ec0704d6e8b87 (patch)
tree22886337f8974041154d0dc001cfb24a0e67f917 /Source
parentd1ef62cc5a75821ffcc99cad33358ad778ae49bd (diff)
parentfc2a0a1988ba0695fa345ee137ccc8b1efc727f9 (diff)
Merge pull request #6217 from ligfx/qtfifofix
FIFOPlayerWindow: don't reset frame/object limit every frame
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt2/FIFOPlayerWindow.cpp8
1 files 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)