Archived
1
0
Fork 0
forked from Mirror/Ryujinx

Add missing Buffer attribute on NGC Check method (#7051)

This commit is contained in:
gdkchan 2024-07-18 15:11:00 -03:00 committed by GitHub
parent 1a919e99b2
commit 827069e784
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,11 @@ namespace Ryujinx.Horizon.Ngc.Ipc
}
[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)
{