aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Time/TimeError.cs
diff options
context:
space:
mode:
authorThomas Guillemard <me@thog.eu>2019-07-04 17:20:40 +0200
committerAc_K <Acoustik666@gmail.com>2019-07-04 17:20:40 +0200
commit708620252e837f2111213c6e36d5f8cc8cfd03e8 (patch)
treebf05e304312382f059b418f003b251d7bb28e3fb /Ryujinx.HLE/HOS/Services/Time/TimeError.cs
parent789cdba8b51f310399752f7a1309e489fadf8dc1 (diff)
ITimeZoneService rewrite (#722)
* Clean up ITimeZoneService Add error codes and simplify parsing * Add accurate timezone logic TOOD: LoadTimeZoneRule and location name cmds. * Integrate the new TimeZone logic * SCREAMING_UNIX_CASE => PascalCase * Address comments * Reduce use of pointer in the LoadTimeZoneRule logic * Address comments * Realign tzIfStream logic in LoadTimeZoneRule * Address gdk's comments
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Time/TimeError.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Time/TimeError.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Time/TimeError.cs b/Ryujinx.HLE/HOS/Services/Time/TimeError.cs
new file mode 100644
index 00000000..20b2375c
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Time/TimeError.cs
@@ -0,0 +1,12 @@
+namespace Ryujinx.HLE.HOS.Services.Time
+{
+ static class TimeError
+ {
+ public const int TimeNotFound = 200;
+ public const int Overflow = 201;
+ public const int LocationNameTooLong = 801;
+ public const int OutOfRange = 902;
+ public const int TimeZoneConversionFailed = 903;
+ public const int TimeZoneNotFound = 989;
+ }
+}