diff options
| author | Michael M <mchtly@gmail.com> | 2017-11-24 14:11:29 -0800 |
|---|---|---|
| committer | Michael M <mchtly@gmail.com> | 2017-11-24 14:11:59 -0800 |
| commit | fc2a0a1988ba0695fa345ee137ccc8b1efc727f9 (patch) | |
| tree | 5c3899a2f2f5eeb7ed04310b2fc76434f277c207 /Source/Core | |
| parent | 73a67aa413d9bd5e30f361089915135b2fb41e7a (diff) | |
FIFOPlayerWindow: don't reset frame/object limit every frame
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/FIFOPlayerWindow.cpp | 8 |
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) |
