diff options
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 4 |
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 | |||
| 917 | *result = system.Kernel().CurrentScheduler()->GetIdleThread()->GetCpuTime(); | 917 | *result = system.Kernel().CurrentScheduler()->GetIdleThread()->GetCpuTime(); |
| 918 | return ResultSuccess; | 918 | return ResultSuccess; |
| 919 | } | 919 | } |
| 920 | case GetInfoType::MesosphereCurrentProcess: { | ||
| 920 | // Verify the input handle is invalid. | 921 | // Verify the input handle is invalid. |
| 921 | R_UNLESS(handle == InvalidHandle, ResultInvalidHandle); | 922 | R_UNLESS(handle == InvalidHandle, ResultInvalidHandle); |
| 922 | 923 | ||
| @@ -933,9 +934,10 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle | |||
| 933 | 934 | ||
| 934 | // Set the output. | 935 | // Set the output. |
| 935 | *result = tmp; | 936 | *result = tmp; |
| 936 | 937 | ||
| 937 | // We succeeded. | 938 | // We succeeded. |
| 938 | return ResultSuccess; | 939 | return ResultSuccess; |
| 940 | } | ||
| 939 | default: | 941 | default: |
| 940 | LOG_ERROR(Kernel_SVC, "Unimplemented svcGetInfo id=0x{:016X}", info_id); | 942 | LOG_ERROR(Kernel_SVC, "Unimplemented svcGetInfo id=0x{:016X}", info_id); |
| 941 | return ResultInvalidEnumValue; | 943 | return ResultInvalidEnumValue; |