mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 04:41:40 +00:00
79c854dd2e
This PR stubs some irs service calls which are needed to get some games playable or at least bootable since we don't support IR data throught real JoyCon for now. - Stubs `IIrSensorServer` `StopImageProcessor`, `RunMomentProcessor`, `RunClusteringProcessor`, `RunImageTransferProcessor`, `GetImageTransferProcessorState`, `RunTeraPluginProcessor`. All calls are a bit checked by RE. Closes #2267, #2248, #2126 Night Vision and SpyAlarm are now bootable (but still unplayable due to the lack of the IR data):
25 lines
No EOL
840 B
C#
25 lines
No EOL
840 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid.Irs.Types
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Size = 0x28)]
|
|
struct PackedClusteringProcessorConfig
|
|
{
|
|
public long ExposureTime;
|
|
public byte LightTarget;
|
|
public byte Gain;
|
|
public byte IsNegativeImageUsed;
|
|
public byte Reserved1;
|
|
public uint Reserved2;
|
|
public ushort WindowOfInterestX;
|
|
public ushort WindowOfInterestY;
|
|
public ushort WindowOfInterestWidth;
|
|
public ushort WindowOfInterestHeight;
|
|
public uint RequiredMcuVersion;
|
|
public uint ObjectPixelCountMin;
|
|
public uint ObjectPixelCountMax;
|
|
public byte ObjectIntensityMin;
|
|
public byte IsExternalLightFilterEnabled;
|
|
public ushort Reserved3;
|
|
}
|
|
} |