forked from Mirror/Ryujinx
Add missing Buffer attribute on NGC Check method (#7051)
This commit is contained in:
parent
1a919e99b2
commit
827069e784
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,11 @@ namespace Ryujinx.Horizon.Ngc.Ipc
|
||||||
}
|
}
|
||||||
|
|
||||||
[CmifCommand(1)]
|
[CmifCommand(1)]
|
||||||
public Result Check(out uint checkMask, ReadOnlySpan<byte> text, uint regionMask, ProfanityFilterOption option)
|
public Result Check(
|
||||||
|
out uint checkMask,
|
||||||
|
[Buffer(HipcBufferFlags.In | HipcBufferFlags.MapAlias)] ReadOnlySpan<byte> text,
|
||||||
|
uint regionMask,
|
||||||
|
ProfanityFilterOption option)
|
||||||
{
|
{
|
||||||
lock (_profanityFilter)
|
lock (_profanityFilter)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue