Merge pull request #9417 from Filoppi/input-1

Fix FPS counter and Game Window speed % breaking on pause/unpause
This commit is contained in:
Léo Lam
2021-05-07 15:08:01 +02:00
committed by GitHub
7 changed files with 125 additions and 31 deletions

View File

@ -36,7 +36,7 @@
Settings::Settings()
{
qRegisterMetaType<Core::State>();
Core::SetOnStateChangedCallback([this](Core::State new_state) {
Core::AddOnStateChangedCallback([this](Core::State new_state) {
QueueOnObject(this, [this, new_state] { emit EmulationStateChanged(new_state); });
});