diff options
| author | Ac_K <Acoustik666@gmail.com> | 2019-11-21 13:24:06 +0100 |
|---|---|---|
| committer | Thog <me@thog.eu> | 2019-11-21 13:24:06 +0100 |
| commit | cfcc360d0610c66e9b9986f7aab96f79df0da79e (patch) | |
| tree | 178fb92d9dcbd7f52be430319f44a01149c4bd23 /Ryujinx.HLE/HOS/Services/Ldn/ResultCode.cs | |
| parent | ee81ab547ee35c4f5f3342a6f1e0d6bbc60500e8 (diff) | |
ldn: Implement calls of UserLocalCommunicationService (#829)
* ldn: Implement calls of UserLocalCommunicationService
- Implement `IUserServiceCreator: CreateUserLocalCommunicationService` according to RE.
- Implement `IUserLocalCommunicationService` calls:
- Every calls in this interface are layered to `NetworkInterface`.
- `GetState` according to RE.
- `InitializeOld`, `Initialize` and `Finalize` stubbed with the appropriate result code and some TODO according to RE.
- `AttachStateChangeEvent` according to RE.
* Fix var name and TODO comments
* Fix review
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Ldn/ResultCode.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Ldn/ResultCode.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Ldn/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Ldn/ResultCode.cs new file mode 100644 index 00000000..0c9f6209 --- /dev/null +++ b/Ryujinx.HLE/HOS/Services/Ldn/ResultCode.cs @@ -0,0 +1,16 @@ +namespace Ryujinx.HLE.HOS.Services.Ldn +{ + enum ResultCode + { + ModuleId = 203, + ErrorCodeShift = 9, + + Success = 0, + + DeviceDisabled = (22 << ErrorCodeShift) | ModuleId, + InvalidState = (32 << ErrorCodeShift) | ModuleId, + Unknown1 = (48 << ErrorCodeShift) | ModuleId, + InvalidArgument = (96 << ErrorCodeShift) | ModuleId, + InvalidOjbect = (97 << ErrorCodeShift) | ModuleId, + } +}
\ No newline at end of file |
