Qt: Prevent lag disabling power on buttons when starting

This commit is contained in:
Connor McLaughlin
2020-06-06 03:44:57 +10:00
parent 009e474c51
commit 6acd8b27dd
5 changed files with 19 additions and 2 deletions

View File

@ -209,6 +209,7 @@ void QtHostInterface::bootSystem(const SystemBootParameters& params)
return;
}
emit emulationStarting();
BootSystem(params);
}
@ -221,6 +222,7 @@ void QtHostInterface::resumeSystemFromState(const QString& filename, bool boot_o
return;
}
emit emulationStarting();
if (filename.isEmpty())
HostInterface::ResumeSystemFromMostRecentState();
else
@ -235,6 +237,7 @@ void QtHostInterface::resumeSystemFromMostRecentState()
return;
}
emit emulationStarting();
HostInterface::ResumeSystemFromMostRecentState();
}