aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolcaEM <63682805+VolcaEM@users.noreply.github.com>2020-05-02 13:45:45 +0200
committerGitHub <noreply@github.com>2020-05-02 13:45:45 +0200
commit8a7c00c39aea7051094c9f924bd25997486bc564 (patch)
tree017cbfd576724a61b0c7935e92eadf34b2546062
parent81cba3c3df7a1534c6690f69de025beeb6ebd1b9 (diff)
Add various error codes to AM (#1183)
* Add various error codes to AM The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) * TitleID -> TitleId
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/ResultCode.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Am/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Am/ResultCode.cs
index a5e27071..73daf700 100644
--- a/Ryujinx.HLE/HOS/Services/Am/ResultCode.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/ResultCode.cs
@@ -9,10 +9,19 @@ namespace Ryujinx.HLE.HOS.Services.Am
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
NoMessages = (3 << ErrorCodeShift) | ModuleId,
+ AppletLaunchFailed = (35 << ErrorCodeShift) | ModuleId,
+ TitleIdNotFound = (37 << ErrorCodeShift) | ModuleId,
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
+ IStorageInUse = (502 << ErrorCodeShift) | ModuleId,
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
InvalidParameters = (506 << ErrorCodeShift) | ModuleId,
+ OpenedAsWrongType = (511 << ErrorCodeShift) | ModuleId,
UnbalancedFatalSection = (512 << ErrorCodeShift) | ModuleId,
- NullObject = (518 << ErrorCodeShift) | ModuleId
+ NullObject = (518 << ErrorCodeShift) | ModuleId,
+ MemoryAllocationFailed = (600 << ErrorCodeShift) | ModuleId,
+ StackPoolExhausted = (712 << ErrorCodeShift) | ModuleId,
+ DebugModeNotEnabled = (974 << ErrorCodeShift) | ModuleId,
+ DevFunctionNotEnabled = (980 << ErrorCodeShift) | ModuleId,
+ NotImplemented = (998 << ErrorCodeShift) | ModuleId
}
-} \ No newline at end of file
+}