mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
Emu: actually wait 5 seconds during GraceFulShutdown
This commit is contained in:
parent
c803bf1849
commit
36e3939ec2
@ -1690,7 +1690,7 @@ void Emulator::GracefulShutdown(bool allow_autoexit, bool async_op)
|
|||||||
|
|
||||||
auto perform_kill = [allow_autoexit, this, info = ProcureCurrentEmulationCourseInformation()]()
|
auto perform_kill = [allow_autoexit, this, info = ProcureCurrentEmulationCourseInformation()]()
|
||||||
{
|
{
|
||||||
for (u32 i = 0; i < 50; i++)
|
for (u32 i = 0; i < 100; i++)
|
||||||
{
|
{
|
||||||
std::this_thread::sleep_for(50ms);
|
std::this_thread::sleep_for(50ms);
|
||||||
Resume(); // TODO: Prevent pausing by other threads while in this loop
|
Resume(); // TODO: Prevent pausing by other threads while in this loop
|
||||||
|
Loading…
Reference in New Issue
Block a user