mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-27 22:59:05 +00:00
@@ -62,8 +62,8 @@ namespace Ryujinx.Horizon.Sdk.Sf.Cmif
|
||||
|
||||
Result commandResult = commandHandler.Invoke(ref outHeader, ref context, inMessageRawData);
|
||||
|
||||
if (commandResult.Module == SfResult.ModuleId ||
|
||||
commandResult.Module == HipcResult.ModuleId)
|
||||
if (commandResult.Module is SfResult.ModuleId or
|
||||
HipcResult.ModuleId)
|
||||
{
|
||||
Logger.Warning?.Print(LogClass.KernelIpc, $"{commandHandler.MethodName} returned error {commandResult}");
|
||||
}
|
||||
|
||||
@@ -206,6 +206,7 @@ namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
||||
{
|
||||
return MemoryMarshal.Cast<byte, int>(inMessage)[3];
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,7 @@ namespace Ryujinx.Horizon.Sdk.Sf
|
||||
_outMapAliasBuffersCount++;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
case CommandArgType.InCopyHandle:
|
||||
_inCopyHandlesCount++;
|
||||
@@ -386,9 +387,7 @@ namespace Ryujinx.Horizon.Sdk.Sf
|
||||
outRawData = MemoryMarshal.Cast<uint, byte>(response.DataWords);
|
||||
}
|
||||
|
||||
#pragma warning disable CA1822 // Mark member as static
|
||||
public void SetOutObjects(ref ServiceDispatchContext context, HipcMessageData response, Span<IServiceObject> objects)
|
||||
#pragma warning restore CA1822
|
||||
public static void SetOutObjects(ref ServiceDispatchContext context, HipcMessageData response, Span<IServiceObject> objects)
|
||||
{
|
||||
if (objects.Length == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user