aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs
new file mode 100644
index 00000000..1e110ea6
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs
@@ -0,0 +1,15 @@
+namespace Ryujinx.HLE.HOS.Services.Prepo
+{
+ enum ResultCode
+ {
+ ModuleId = 129,
+ ErrorCodeShift = 9,
+
+ Success = 0,
+
+ InvalidArgument = (1 << ErrorCodeShift) | ModuleId,
+ InvalidState = (5 << ErrorCodeShift) | ModuleId,
+ InvalidBufferSize = (9 << ErrorCodeShift) | ModuleId,
+ Unknown1 = (90 << ErrorCodeShift) | ModuleId
+ }
+} \ No newline at end of file