summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-05-07 15:08:01 +0200
committerGitHub <noreply@github.com>2021-05-07 15:08:01 +0200
commit049b92b7ef51b8aaa0f3a9370c3e8bccd44d185b (patch)
tree9dc2e0675884a2134c68603f78e1a3efead62d96 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parent8547de25930aa2f7e4658a4c10fece3fc86047cd (diff)
parent818672b5856ed0ba36af27343f4dbf31544bc1a4 (diff)
Merge pull request #9417 from Filoppi/input-1
Fix FPS counter and Game Window speed % breaking on pause/unpause
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/MainNoGUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
index 2c9d39a4b0..7c64a5cbeb 100644
--- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp
+++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
@@ -224,7 +224,7 @@ int main(int argc, char* argv[])
return 1;
}
- Core::SetOnStateChangedCallback([](Core::State state) {
+ Core::AddOnStateChangedCallback([](Core::State state) {
if (state == Core::State::Uninitialized)
s_platform->Stop();
});