diff options
| author | comex <comexk@gmail.com> | 2022-06-25 18:01:56 -0700 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2022-06-25 18:01:56 -0700 |
| commit | 0c3a934b6e6e8d6d0874dff5c92423b81fce9e3e (patch) | |
| tree | 7eef17b2cbc1e0350c8cfc5ae2c12bc50e838628 /src/core/hle/kernel/svc.cpp | |
| parent | 593f978ad22d7e2a618d5966299446af5390ace0 (diff) | |
Re-add missing `case` and braces, and trim whitespace
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -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 fdfd69ebdc..72272a34e8 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; |
