aboutsummaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-26 18:52:16 -0400
committerLiam <byteslice@airmail.cc>2022-07-14 22:47:18 -0400
commite47bced65d3b6bb2ec69d5f53c14694d00d3de14 (patch)
treea8b9f3adf516af30cad021fc32f8669426946cd5 /src/core/arm/arm_interface.cpp
parent9d4dd0d153d29404148c7f197b5a8caa782deaad (diff)
kernel: use KScheduler from mesosphere
Diffstat (limited to 'src/core/arm/arm_interface.cpp')
-rw-r--r--src/core/arm/arm_interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index cef79b245a..cdf388fb9b 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -155,9 +155,10 @@ void ARM_Interface::Run() {
break;
}
- // Handle syscalls and scheduling (this may change the current thread)
+ // Handle syscalls and scheduling (this may change the current thread/core)
if (Has(hr, svc_call)) {
Kernel::Svc::Call(system, GetSvcNumber());
+ break;
}
if (Has(hr, break_loop) || !uses_wall_clock) {
break;