mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-23 18:40:15 +00:00
FIFOPlayerWindow: don't reset frame/object limit every frame
This commit is contained in:
parent
73a67aa413
commit
fc2a0a1988
@ -39,8 +39,12 @@ FIFOPlayerWindow::FIFOPlayerWindow(QWidget* parent) : QDialog(parent)
|
|||||||
|
|
||||||
FifoPlayer::GetInstance().SetFileLoadedCallback(
|
FifoPlayer::GetInstance().SetFileLoadedCallback(
|
||||||
[this] { QueueOnObject(this, &FIFOPlayerWindow::OnFIFOLoaded); });
|
[this] { QueueOnObject(this, &FIFOPlayerWindow::OnFIFOLoaded); });
|
||||||
FifoPlayer::GetInstance().SetFrameWrittenCallback(
|
FifoPlayer::GetInstance().SetFrameWrittenCallback([this] {
|
||||||
[this] { QueueOnObject(this, &FIFOPlayerWindow::OnFIFOLoaded); });
|
QueueOnObject(this, [this] {
|
||||||
|
UpdateInfo();
|
||||||
|
UpdateControls();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
|
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
|
||||||
if (state == Core::State::Running)
|
if (state == Core::State::Running)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user