2019-07-14 21:04:38 +02:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Time
|
|
|
|
|
{
|
|
|
|
|
public enum ResultCode
|
|
|
|
|
{
|
|
|
|
|
ModuleId = 116,
|
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
|
2019-07-14 22:50:11 +02:00
|
|
|
|
PermissionDenied = (1 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
TimeMismatch = (102 << ErrorCodeShift) | ModuleId,
|
2019-10-08 05:48:49 +02:00
|
|
|
|
UninitializedClock = (103 << ErrorCodeShift) | ModuleId,
|
2019-07-14 21:04:38 +02:00
|
|
|
|
TimeNotFound = (200 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
Overflow = (201 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
LocationNameTooLong = (801 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
OutOfRange = (902 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
TimeZoneConversionFailed = (903 << ErrorCodeShift) | ModuleId,
|
2019-07-14 22:50:11 +02:00
|
|
|
|
TimeZoneNotFound = (989 << ErrorCodeShift) | ModuleId,
|
|
|
|
|
NotImplemented = (990 << ErrorCodeShift) | ModuleId,
|
2019-07-14 21:04:38 +02:00
|
|
|
|
}
|
|
|
|
|
}
|