mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #10457 from Pokechu22/movie-no-pause-menubar-desync
Fix menu bar becoming desynced when Pause at End of Movie is disabled
This commit is contained in:
commit
1e126d23e6
@ -1324,7 +1324,7 @@ void EndPlayInput(bool cont)
|
||||
{
|
||||
// We can be called by EmuThread during boot (CPU::State::PowerDown)
|
||||
bool was_running = Core::IsRunningAndStarted() && !CPU::IsStepping();
|
||||
if (was_running)
|
||||
if (was_running && Config::Get(Config::MAIN_MOVIE_PAUSE_MOVIE))
|
||||
CPU::Break();
|
||||
s_rerecords = 0;
|
||||
s_currentByte = 0;
|
||||
@ -1337,11 +1337,7 @@ void EndPlayInput(bool cont)
|
||||
// delete tmpInput;
|
||||
// tmpInput = nullptr;
|
||||
|
||||
Core::QueueHostJob([=] {
|
||||
Core::UpdateWantDeterminism();
|
||||
if (was_running && !Config::Get(Config::MAIN_MOVIE_PAUSE_MOVIE))
|
||||
CPU::EnableStepping(false);
|
||||
});
|
||||
Core::QueueHostJob([=] { Core::UpdateWantDeterminism(); });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user