2019-07-14 21:04:38 +02:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Time
|
|
|
|
|
{
|
|
|
|
|
public enum ResultCode
|
|
|
|
|
{
|
|
|
|
|
ModuleId = 116,
|
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
|
2022-03-15 04:07:07 +01:00
|
|
|
|
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,
|
2019-07-14 21:04:38 +02:00
|
|
|
|
}
|
2020-05-13 07:28:53 +02:00
|
|
|
|
}
|