Don't reset the FIFO frame/object limit when unpausing

This commit is contained in:
Pokechu22
2021-03-15 21:02:25 -07:00
parent 0a906f553f
commit 3436a92ea5
2 changed files with 5 additions and 1 deletions

View File

@ -50,10 +50,11 @@ FIFOPlayerWindow::FIFOPlayerWindow(QWidget* parent) : QDialog(parent)
});
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
if (state == Core::State::Running)
if (state == Core::State::Running && m_emu_state != Core::State::Paused)
OnEmulationStarted();
else if (state == Core::State::Uninitialized)
OnEmulationStopped();
m_emu_state = state;
});
}