diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-03-15 21:02:25 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-05-07 15:42:17 -0700 |
| commit | 3436a92ea5daeffce1936ae658c0922644d1123a (patch) | |
| tree | dcd9f000a4b44ed70014254f7fc122b7ccc6b50a /Source/Core | |
| parent | 0a906f553fe7699d1c863a464211f74b6c306a0f (diff) | |
Don't reset the FIFO frame/object limit when unpausing
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp index ae351792fe..d2132f3cd6 100644 --- a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp +++ b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp @@ -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; }); } diff --git a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.h b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.h index 5441b38aba..10df9b0b96 100644 --- a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.h +++ b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.h @@ -6,6 +6,8 @@ #include <QDialog> +#include "Core/Core.h" + class QCheckBox; class QDialogButtonBox; class QLabel; @@ -62,4 +64,5 @@ private: QDialogButtonBox* m_button_box; FIFOAnalyzer* m_analyzer; + Core::State m_emu_state = Core::State::Uninitialized; }; |
