mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-22 00:10:18 +00:00
29 lines
1,001 B
C#
29 lines
1,001 B
C#
using Ryujinx.Horizon.Bcat.Types;
|
|
using Ryujinx.Horizon.Common;
|
|
using Ryujinx.Horizon.Sdk.Bcat;
|
|
using Ryujinx.Horizon.Sdk.Sf;
|
|
|
|
namespace Ryujinx.Horizon.Bcat.Ipc
|
|
{
|
|
partial class BcatService : IBcatService
|
|
{
|
|
public BcatService(BcatServicePermissionLevel permissionLevel) { }
|
|
|
|
[CmifCommand(10100)]
|
|
public Result RequestSyncDeliveryCache(out IDeliveryCacheProgressService deliveryCacheProgressService)
|
|
{
|
|
deliveryCacheProgressService = new DeliveryCacheProgressService();
|
|
|
|
return Result.Success;
|
|
}
|
|
|
|
[CmifCommand(10101)]
|
|
public Result RequestSyncDeliveryCacheWithDirectoryName(out IDeliveryCacheProgressService deliveryCacheProgressService, DirectoryName directoryName)
|
|
{
|
|
// Just have the network request fail and pretend that everything is fine.
|
|
deliveryCacheProgressService = new DeliveryCacheProgressService();
|
|
|
|
return BcatResult.InternetRequestDenied;
|
|
}
|
|
}
|
|
}
|