summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-01-16 23:23:53 +0100
committerDavid Marcec <dmarcecguzman@gmail.com>2018-01-16 23:23:53 +0100
commitbb7221c5d55bc42e63e72d7779709d2193c37b53 (patch)
treea791c888ccad2fa8f12894135eacc78e5672ef4d
parentimplemented more of ISelfController and IApplicationFunctions (diff)
downloadyuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.gz
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.bz2
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.lz
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.xz
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.zst
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.zip
-rw-r--r--src/core/hle/kernel/svc.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 2f1b79f32..eb42123dc 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -721,6 +721,11 @@ static ResultCode CreateTransferMemory(Handle* handle, VAddr addr, u64 size, u32
return RESULT_SUCCESS;
}
+static ResultCode SetThreadCoreMask(u64, u64, u64) {
+ LOG_WARNING(Kernel_SVC, "(STUBBED) called");
+ return RESULT_SUCCESS;
+}
+
namespace {
struct FunctionDef {
using Func = void();
@@ -747,7 +752,7 @@ static const FunctionDef SVC_Table[] = {
{0x0C, SvcWrap<GetThreadPriority>, "GetThreadPriority"},
{0x0D, SvcWrap<SetThreadPriority>, "SetThreadPriority"},
{0x0E, nullptr, "GetThreadCoreMask"},
- {0x0F, nullptr, "SetThreadCoreMask"},
+ {0x0F, SvcWrap<SetThreadCoreMask>, "SetThreadCoreMask"},
{0x10, SvcWrap<GetCurrentProcessorNumber>, "GetCurrentProcessorNumber"},
{0x11, nullptr, "SignalEvent"},
{0x12, nullptr, "ClearEvent"},