Refactor IPC services to have commands into separate classes, fix readme url
This commit is contained in:
parent
a4ff0d3484
commit
fba0bf8732
73 changed files with 825 additions and 583 deletions
10
Ryujinx.Core/OsHle/IpcServices/ErrorCode.cs
Normal file
10
Ryujinx.Core/OsHle/IpcServices/ErrorCode.cs
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue