Implement CmifCommand(10101) - BcatService.RequestSyncDeliveryCacheWithDirectoryName

This commit is contained in:
Yohoki 2024-05-06 04:17:07 -05:00
parent ab12fbe963
commit 453c4d1f28
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,4 @@
using Ryujinx.Common.Logging;
using Ryujinx.Horizon.Bcat.Types; using Ryujinx.Horizon.Bcat.Types;
using Ryujinx.Horizon.Common; using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Bcat; using Ryujinx.Horizon.Sdk.Bcat;
@ -16,5 +17,15 @@ namespace Ryujinx.Horizon.Bcat.Ipc
return Result.Success; return Result.Success;
} }
[CmifCommand(10101)]
public Result RequestSyncDeliveryCacheWithDirectoryName(out IDeliveryCacheProgressService deliveryCacheProgressService)
{
// Temporary fix for Endless Ocean Luminous (010067B017588000).
// Just pretend the network request failed and pretend that everything is fine.
deliveryCacheProgressService = new DeliveryCacheProgressService();
return BcatResult.InternetRequestDenied;
}
} }
} }

View file

@ -6,5 +6,6 @@ namespace Ryujinx.Horizon.Sdk.Bcat
internal interface IBcatService : IServiceObject internal interface IBcatService : IServiceObject
{ {
Result RequestSyncDeliveryCache(out IDeliveryCacheProgressService deliveryCacheProgressService); Result RequestSyncDeliveryCache(out IDeliveryCacheProgressService deliveryCacheProgressService);
Result RequestSyncDeliveryCacheWithDirectoryName(out IDeliveryCacheProgressService deliveryCacheProgressService);
} }
} }