aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs b/src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
new file mode 100644
index 00000000..c337051b
--- /dev/null
+++ b/src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
@@ -0,0 +1,15 @@
+namespace Ryujinx.HLE.HOS.Services.Sdb.Pdm
+{
+ enum ResultCode
+ {
+ ModuleId = 178,
+ ErrorCodeShift = 9,
+
+ Success = 0,
+
+ InvalidUserID = (100 << ErrorCodeShift) | ModuleId,
+ UserNotFound = (101 << ErrorCodeShift) | ModuleId,
+ ServiceUnavailable = (150 << ErrorCodeShift) | ModuleId,
+ FileStorageFailure = (200 << ErrorCodeShift) | ModuleId
+ }
+}