From 0bc8151c7ecdacc1506305a8d60e7b3c7b13622d Mon Sep 17 00:00:00 2001 From: Emmanuel Hansen Date: Tue, 9 May 2023 21:46:23 +0000 Subject: IPC - Refactor Bcat service to use new ipc - Revisit (#4803) * bcat ipc * fix hipc buffer flags * add buffer fixed size flag on generator --- src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs (limited to 'src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs') diff --git a/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs b/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs new file mode 100644 index 00000000..a1e5d43b --- /dev/null +++ b/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs @@ -0,0 +1,15 @@ +using LibHac.Bcat; +using Ryujinx.Horizon.Common; +using Ryujinx.Horizon.Sdk.Sf; +using System; + +namespace Ryujinx.Horizon.Sdk.Bcat +{ + internal interface IDeliveryCacheFileService : IServiceObject + { + Result GetDigest(out Digest digest); + Result GetSize(out long size); + Result Open(DirectoryName directoryName, FileName fileName); + Result Read(long offset, out long bytesRead, Span data); + } +} -- cgit v1.2.3