2024-05-06 09:17:07 +00:00
|
|
|
using Ryujinx.Common.Logging;
|
2023-12-04 13:17:13 +00:00
|
|
|
using Ryujinx.Horizon.Bcat.Types;
|
2023-05-09 21:46:23 +00:00
|
|
|
using Ryujinx.Horizon.Common;
|
|
|
|
using Ryujinx.Horizon.Sdk.Bcat;
|
|
|
|
using Ryujinx.Horizon.Sdk.Sf;
|
|
|
|
|
|
|
|
namespace Ryujinx.Horizon.Bcat.Ipc
|
|
|
|
{
|
|
|
|
partial class BcatService : IBcatService
|
|
|
|
{
|
2023-07-01 10:42:10 +00:00
|
|
|
public BcatService(BcatServicePermissionLevel permissionLevel) { }
|
2023-05-09 21:46:23 +00:00
|
|
|
|
|
|
|
[CmifCommand(10100)]
|
|
|
|
public Result RequestSyncDeliveryCache(out IDeliveryCacheProgressService deliveryCacheProgressService)
|
|
|
|
{
|
|
|
|
deliveryCacheProgressService = new DeliveryCacheProgressService();
|
|
|
|
|
|
|
|
return Result.Success;
|
|
|
|
}
|
2024-05-06 09:17:07 +00:00
|
|
|
|
|
|
|
[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;
|
|
|
|
}
|
2023-05-09 21:46:23 +00:00
|
|
|
}
|
|
|
|
}
|