Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #444 from yuriks/handle-reform2

bunnei6ae12424df58
diff --cc src/core/hle/svc.cpp
index 051f2d2c62,6380d214cf..8ac1c7350d
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@@ -237,13 -241,8 +241,13 @@@ static Result CreateThread(u32 priority
LOG_TRACE(Kernel_SVC, "called entrypoint=0x%08X (%s), arg=0x%08X, stacktop=0x%08X, "
"threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point,
- name.c_str(), arg, stack_top, priority, processor_id, thread);
+ name.c_str(), arg, stack_top, priority, processor_id, thread->GetHandle());
+ if (THREADPROCESSORID_1 == processor_id) {
+ LOG_WARNING(Kernel_SVC,
+ "thread designated for system CPU core (UNIMPLEMENTED) will be run with app core scheduling");
+ }
+
return 0;
}