summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2022-06-26 03:01:56 +0200
committercomex <comexk@gmail.com>2022-06-26 03:01:56 +0200
commitbf7e78795f7dece087ee59c5319735a41773d2ee (patch)
tree7eef17b2cbc1e0350c8cfc5ae2c12bc50e838628 /src/core/hle
parentUpdate src/core/hle/kernel/svc.cpp (diff)
downloadyuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.tar
yuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.tar.gz
yuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.tar.bz2
yuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.tar.lz
yuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.tar.xz
yuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.tar.zst
yuzu-bf7e78795f7dece087ee59c5319735a41773d2ee.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/svc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index fdfd69ebd..72272a34e 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -917,6 +917,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle
*result = system.Kernel().CurrentScheduler()->GetIdleThread()->GetCpuTime();
return ResultSuccess;
}
+ case GetInfoType::MesosphereCurrentProcess: {
// Verify the input handle is invalid.
R_UNLESS(handle == InvalidHandle, ResultInvalidHandle);
@@ -933,9 +934,10 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle
// Set the output.
*result = tmp;
-
+
// We succeeded.
return ResultSuccess;
+ }
default:
LOG_ERROR(Kernel_SVC, "Unimplemented svcGetInfo id=0x{:016X}", info_id);
return ResultInvalidEnumValue;