mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 12:45:48 +00:00
Add missing error code to Time (#1237)
The error code was taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) Even if TimeServiceNotInitialized's "description" is 0, the result "value" of "(0 << ErrorCodeShift) | ModuleId" is 0x74 so it is not the same as "Success" (0)
This commit is contained in:
parent
76e1a162dd
commit
b96aa7574f
1 changed files with 12 additions and 11 deletions
|
@ -7,15 +7,16 @@
|
||||||
|
|
||||||
Success = 0,
|
Success = 0,
|
||||||
|
|
||||||
PermissionDenied = (1 << ErrorCodeShift) | ModuleId,
|
TimeServiceNotInitialized = (0 << ErrorCodeShift) | ModuleId,
|
||||||
TimeMismatch = (102 << ErrorCodeShift) | ModuleId,
|
PermissionDenied = (1 << ErrorCodeShift) | ModuleId,
|
||||||
UninitializedClock = (103 << ErrorCodeShift) | ModuleId,
|
TimeMismatch = (102 << ErrorCodeShift) | ModuleId,
|
||||||
TimeNotFound = (200 << ErrorCodeShift) | ModuleId,
|
UninitializedClock = (103 << ErrorCodeShift) | ModuleId,
|
||||||
Overflow = (201 << ErrorCodeShift) | ModuleId,
|
TimeNotFound = (200 << ErrorCodeShift) | ModuleId,
|
||||||
LocationNameTooLong = (801 << ErrorCodeShift) | ModuleId,
|
Overflow = (201 << ErrorCodeShift) | ModuleId,
|
||||||
OutOfRange = (902 << ErrorCodeShift) | ModuleId,
|
LocationNameTooLong = (801 << ErrorCodeShift) | ModuleId,
|
||||||
TimeZoneConversionFailed = (903 << ErrorCodeShift) | ModuleId,
|
OutOfRange = (902 << ErrorCodeShift) | ModuleId,
|
||||||
TimeZoneNotFound = (989 << ErrorCodeShift) | ModuleId,
|
TimeZoneConversionFailed = (903 << ErrorCodeShift) | ModuleId,
|
||||||
NotImplemented = (990 << ErrorCodeShift) | ModuleId,
|
TimeZoneNotFound = (989 << ErrorCodeShift) | ModuleId,
|
||||||
|
NotImplemented = (990 << ErrorCodeShift) | ModuleId,
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue