mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-09-02 02:36:26 -05:00
Support loading NSO/NRO without a MOD0 header, stub some functions, support more ids on SvcGetInfo
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user