FspSrv improvements, also fix ImageEnd for NROs without a MOD0 section
This commit is contained in:
parent
3696255457
commit
b2f733da78
14 changed files with 408 additions and 196 deletions
12
Ryujinx.Core/OsHle/Objects/ErrorCode.cs
Normal file
12
Ryujinx.Core/OsHle/Objects/ErrorCode.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Core.OsHle.Objects
|
||||
{
|
||||
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