Support loading NSO/NRO without a MOD0 header, stub some functions, support more ids on SvcGetInfo
This commit is contained in:
parent
2347c44bbf
commit
b99e808791
15 changed files with 153 additions and 41 deletions
|
@ -35,6 +35,13 @@ namespace Ryujinx.OsHle.Objects
|
|||
return 0;
|
||||
}
|
||||
|
||||
public static long NotifyRunning(ServiceCtx Context)
|
||||
{
|
||||
Context.ResponseData.Write(1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
private static byte[] MakeLaunchParams()
|
||||
{
|
||||
//Size needs to be at least 0x88 bytes otherwise application errors.
|
||||
|
|
|
@ -24,5 +24,12 @@ namespace Ryujinx.OsHle.Objects
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static long SetOutOfFocusSuspendingEnabled(ServiceCtx Context)
|
||||
{
|
||||
bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -31,6 +31,13 @@ namespace Ryujinx.OsHle.Objects
|
|||
return 0;
|
||||
}
|
||||
|
||||
public static long GetIndirectDisplayTransactionService(ServiceCtx Context)
|
||||
{
|
||||
MakeObject(Context, new ViIHOSBinderDriver());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static long OpenDisplay(ServiceCtx Context)
|
||||
{
|
||||
string Name = GetDisplayName(Context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue