summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 1e6c60d78..b535593c7 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -10,6 +10,7 @@
10 10
11#include "common/alignment.h" 11#include "common/alignment.h"
12#include "common/assert.h" 12#include "common/assert.h"
13#include "common/fiber.h"
13#include "common/logging/log.h" 14#include "common/logging/log.h"
14#include "common/microprofile.h" 15#include "common/microprofile.h"
15#include "common/string_util.h" 16#include "common/string_util.h"
@@ -2468,7 +2469,10 @@ void Call(Core::System& system, u32 immediate) {
2468 } 2469 }
2469 auto& physical_core_2 = system.CurrentPhysicalCore(); 2470 auto& physical_core_2 = system.CurrentPhysicalCore();
2470 if (physical_core.CoreIndex() != physical_core_2.CoreIndex()) { 2471 if (physical_core.CoreIndex() != physical_core_2.CoreIndex()) {
2471 physical_core.Stop(); 2472 LOG_CRITICAL(Kernel_SVC, "Rewinding");
2473 auto* thread = physical_core_2.Scheduler().GetCurrentThread();
2474 auto* host_context = thread->GetHostContext().get();
2475 host_context->Rewind();
2472 } 2476 }
2473} 2477}
2474 2478