mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 10:05:25 +00:00
97d0c62423
* Improve SteadyClock implementation accuracy * Rewrite system clocks to be accurate * Implement IStaticService 100 & 101 * Add time:* permissions * Address comments * Realign TimePermissions definitions * Address gdk's comments * Fix after rebase
20 lines
805 B
C#
20 lines
805 B
C#
namespace Ryujinx.HLE.HOS.Services.Time
|
|
{
|
|
public enum ResultCode
|
|
{
|
|
ModuleId = 116,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
PermissionDenied = (1 << ErrorCodeShift) | ModuleId,
|
|
TimeMismatch = (102 << 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,
|
|
}
|
|
} |