mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 05:54:15 +00:00
hid: Stub SetTouchScreenResolution (#6322)
* hid: Implement SetTouchScreenResolution * Fix Tomb Raider I-III Remastered from crashing without enabling Ignore Missing Services * PR Feedback: Update Comments
This commit is contained in:
parent
31ed061bea
commit
103e7cb021
1 changed files with 13 additions and 0 deletions
|
@ -1821,5 +1821,18 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||||
|
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CommandCmif(1004)] // 17.0.0+
|
||||||
|
// SetTouchScreenResolution(int width, int height, nn::applet::AppletResourceUserId)
|
||||||
|
public ResultCode SetTouchScreenResolution(ServiceCtx context)
|
||||||
|
{
|
||||||
|
int width = context.RequestData.ReadInt32();
|
||||||
|
int height = context.RequestData.ReadInt32();
|
||||||
|
long appletResourceUserId = context.RequestData.ReadInt64();
|
||||||
|
|
||||||
|
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { width, height, appletResourceUserId });
|
||||||
|
|
||||||
|
return ResultCode.Success;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue