mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 06:46:24 +02:00
infra: Update LibHac to v0.20.0.
See merge request [ryubing/ryujinx!33](https://git.ryujinx.app/ryubing/ryujinx/-/merge_requests/33)
This commit is contained in:
parent
28b8dc14c7
commit
1d4928e859
18 changed files with 71 additions and 44 deletions
|
@ -20,10 +20,11 @@ namespace Ryujinx.Ava.Systems.AppLibrary
|
|||
public static Array GetArrayForApp(
|
||||
LdnGameData[] receivedData, ref ApplicationControlProperty acp)
|
||||
{
|
||||
LibHac.Common.FixedArrays.Array8<ulong> communicationId = acp.LocalCommunicationId;
|
||||
|
||||
ReadOnlySpan<ulong> communicationId = acp.LocalCommunicationId;
|
||||
ulong[] allowedTitleIds = communicationId.ToArray();
|
||||
|
||||
return new Array(receivedData.Where(game =>
|
||||
communicationId.Items.Contains(game.TitleId.ToULong())
|
||||
allowedTitleIds.Contains(game.TitleId.ToULong())
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue