Revert "infra: Update LibHac to v0.20.0."

This seems to have broken some mods.

This reverts commit 1d4928e859.
This commit is contained in:
GreemDev 2025-05-14 21:35:20 -05:00
parent f1eb911d25
commit e18e27fbc5
18 changed files with 44 additions and 71 deletions

View file

@ -20,11 +20,10 @@ namespace Ryujinx.Ava.Systems.AppLibrary
public static Array GetArrayForApp(
LdnGameData[] receivedData, ref ApplicationControlProperty acp)
{
ReadOnlySpan<ulong> communicationId = acp.LocalCommunicationId;
ulong[] allowedTitleIds = communicationId.ToArray();
LibHac.Common.FixedArrays.Array8<ulong> communicationId = acp.LocalCommunicationId;
return new Array(receivedData.Where(game =>
allowedTitleIds.Contains(game.TitleId.ToULong())
communicationId.Items.Contains(game.TitleId.ToULong())
));
}