mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-06 06:52:55 -06:00
![Ac_K](/assets/img/avatar_default.png)
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):
15 lines
432 B
C#
15 lines
432 B
C#
namespace Ryujinx.HLE.HOS.Services.Hid.Irs
|
|
{
|
|
public enum ResultCode
|
|
{
|
|
ModuleId = 205,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
InvalidCameraHandle = (204 << ErrorCodeShift) | ModuleId,
|
|
InvalidBufferSize = (207 << ErrorCodeShift) | ModuleId,
|
|
HandlePointerIsNull = (212 << ErrorCodeShift) | ModuleId,
|
|
NpadIdOutOfRange = (709 << ErrorCodeShift) | ModuleId
|
|
}
|
|
} |