aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Services/ErrorCode.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2018-02-25 19:58:16 +0100
committergdkchan <gab.dark.100@gmail.com>2018-02-25 15:58:16 -0300
commite174100474fcfe484cc8e93c4db447886096615d (patch)
tree062d3437e791e173c86788dcbf58875c293ca3c8 /Ryujinx.Core/OsHle/Services/ErrorCode.cs
parentfba0bf873257c4ac17f4584036661be08a1694d3 (diff)
Implement many objects, improve logging. (#42)
* Implement many objects, improve logging. Change and rename folders of Services Add Logging of IpcMessage. Add "lm" Log Service. Parse Errors of SetTerminateResult Add Svc Calls. Add many object implementations. * Corrections Forgotten Debug Conf * Corrections 2 * Corrections 3 * Corrections 4
Diffstat (limited to 'Ryujinx.Core/OsHle/Services/ErrorCode.cs')
-rw-r--r--Ryujinx.Core/OsHle/Services/ErrorCode.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.Core/OsHle/Services/ErrorCode.cs b/Ryujinx.Core/OsHle/Services/ErrorCode.cs
new file mode 100644
index 00000000..a4e197b2
--- /dev/null
+++ b/Ryujinx.Core/OsHle/Services/ErrorCode.cs
@@ -0,0 +1,10 @@
+namespace Ryujinx.Core.OsHle.IpcServices
+{
+ static class ErrorCode
+ {
+ public static long MakeError(ErrorModule Module, int Code)
+ {
+ return (int)Module | (Code << 9);
+ }
+ }
+} \ No newline at end of file