mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
Merge eb74d48295 into ed2fe134aa
This commit is contained in:
commit
b1abc64d4a
@ -845,7 +845,7 @@ void RunOnCPUThread(Core::System& system, Common::MoveOnlyFunction<void()> funct
|
||||
// Pause the CPU (set it to stepping mode).
|
||||
const bool was_running = PauseAndLock(system);
|
||||
|
||||
if (!IsRunning(system))
|
||||
if (IsUninitialized(system))
|
||||
{
|
||||
// If the core hasn't been started, there is no active CPU thread we can race against.
|
||||
function();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user