From 453c4d1f28df72e4cd9f534c6cc72266fae50564 Mon Sep 17 00:00:00 2001 From: Yohoki Date: Mon, 6 May 2024 04:17:07 -0500 Subject: [PATCH] Implement CmifCommand(10101) - BcatService.RequestSyncDeliveryCacheWithDirectoryName --- .../Bcat/Ipc/ServiceCreator/BcatService.cs | 11 +++++++++++ src/Ryujinx.Horizon/Sdk/Bcat/IBcatService.cs | 1 + 2 files changed, 12 insertions(+) diff --git a/src/Ryujinx.Horizon/Bcat/Ipc/ServiceCreator/BcatService.cs b/src/Ryujinx.Horizon/Bcat/Ipc/ServiceCreator/BcatService.cs index 91beec20d..a17365c92 100644 --- a/src/Ryujinx.Horizon/Bcat/Ipc/ServiceCreator/BcatService.cs +++ b/src/Ryujinx.Horizon/Bcat/Ipc/ServiceCreator/BcatService.cs @@ -1,3 +1,4 @@ +using Ryujinx.Common.Logging; using Ryujinx.Horizon.Bcat.Types; using Ryujinx.Horizon.Common; using Ryujinx.Horizon.Sdk.Bcat; @@ -16,5 +17,15 @@ namespace Ryujinx.Horizon.Bcat.Ipc 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; + } } } diff --git a/src/Ryujinx.Horizon/Sdk/Bcat/IBcatService.cs b/src/Ryujinx.Horizon/Sdk/Bcat/IBcatService.cs index 9201c4b26..ba7c8c021 100644 --- a/src/Ryujinx.Horizon/Sdk/Bcat/IBcatService.cs +++ b/src/Ryujinx.Horizon/Sdk/Bcat/IBcatService.cs @@ -6,5 +6,6 @@ namespace Ryujinx.Horizon.Sdk.Bcat internal interface IBcatService : IServiceObject { Result RequestSyncDeliveryCache(out IDeliveryCacheProgressService deliveryCacheProgressService); + Result RequestSyncDeliveryCacheWithDirectoryName(out IDeliveryCacheProgressService deliveryCacheProgressService); } }