mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-04 22:37:57 +01:00
e2ffa5a125
* ntc: Implement IEnsureNetworkClockAvailabilityService This PR implement a basic `IEnsureNetworkClockAvailabilityService` checked by RE. It's needed by Splatoon 2 with Guest Internet Access enabled. Game is now playable with this setting. * Update Ryujinx.HLE/HOS/Services/Nim/Ntc/StaticService/IEnsureNetworkClockAvailabilityService.cs Co-authored-by: gdkchan <gab.dark.100@gmail.com> Co-authored-by: gdkchan <gab.dark.100@gmail.com>
25 lines
1.1 KiB
C#
25 lines
1.1 KiB
C#
namespace Ryujinx.HLE.HOS.Services.Time
|
|
{
|
|
public enum ResultCode
|
|
{
|
|
ModuleId = 116,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
TimeServiceNotInitialized = (0 << ErrorCodeShift) | ModuleId,
|
|
PermissionDenied = (1 << ErrorCodeShift) | ModuleId,
|
|
TimeMismatch = (102 << ErrorCodeShift) | ModuleId,
|
|
UninitializedClock = (103 << ErrorCodeShift) | ModuleId,
|
|
TimeNotFound = (200 << ErrorCodeShift) | ModuleId,
|
|
Overflow = (201 << ErrorCodeShift) | ModuleId,
|
|
LocationNameTooLong = (801 << ErrorCodeShift) | ModuleId,
|
|
OutOfRange = (902 << ErrorCodeShift) | ModuleId,
|
|
TimeZoneConversionFailed = (903 << ErrorCodeShift) | ModuleId,
|
|
TimeZoneNotFound = (989 << ErrorCodeShift) | ModuleId,
|
|
NotImplemented = (990 << ErrorCodeShift) | ModuleId,
|
|
NetworkTimeNotAvailable = (1000 << ErrorCodeShift) | ModuleId,
|
|
NetworkTimeTaskCanceled = (1003 << ErrorCodeShift) | ModuleId,
|
|
}
|
|
}
|