mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-13 13:02:09 +00:00
Fix FPS counter and Game Window speed % breaking on pause/unpause
-Add pause state to FPSCounter. -Add ability to have more than one "OnStateChanged" callback in core. -Add GetActualEmulationSpeed() to Core. Returns 1 by default. It's used by my input PRs.
This commit is contained in:
parent
31780a6059
commit
818672b585
7 changed files with 125 additions and 31 deletions
|
@ -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); });
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue