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)]
|
2024-05-07 01:22:32 +00:00
|
|
|
public Result RequestSyncDeliveryCacheWithDirectoryName(out IDeliveryCacheProgressService deliveryCacheProgressService, DirectoryName directoryName)
|
2024-05-06 09:17:07 +00:00
|
|
|
{
|
2024-05-06 10:53:57 +00:00
|
|
|
// Just have the network request fail and pretend that everything is fine.
|
2024-05-06 09:17:07 +00:00
|
|
|
deliveryCacheProgressService = new DeliveryCacheProgressService();
|
|
|
|
|
|
|
|
return BcatResult.InternetRequestDenied;
|
|
|
|
}
|
2023-05-09 21:46:23 +00:00
|
|
|
}
|
|
|
|
}
|