This commit is contained in:
Jordan Woyak 2025-12-15 17:14:34 -06:00 committed by GitHub
commit b1abc64d4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();