diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-09 17:31:35 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-10 07:23:23 +0100 |
commit | 816d03f7d96278c5b3d2604f94901270b10d4167 (patch) | |
tree | 3ef3a65b365de1217d60b9aad6a6d063e800e07b /src/core/hle/service/bcat/delivery_cache_file_service.cpp | |
parent | service: bcat: Implement news interfaces (diff) | |
download | yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.gz yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.bz2 yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.lz yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.xz yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.tar.zst yuzu-816d03f7d96278c5b3d2604f94901270b10d4167.zip |
Diffstat (limited to 'src/core/hle/service/bcat/delivery_cache_file_service.cpp')
-rw-r--r-- | src/core/hle/service/bcat/delivery_cache_file_service.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/service/bcat/delivery_cache_file_service.cpp b/src/core/hle/service/bcat/delivery_cache_file_service.cpp index c91efd47e..b75fac4bf 100644 --- a/src/core/hle/service/bcat/delivery_cache_file_service.cpp +++ b/src/core/hle/service/bcat/delivery_cache_file_service.cpp @@ -14,10 +14,10 @@ IDeliveryCacheFileService::IDeliveryCacheFileService(Core::System& system_, : ServiceFramework{system_, "IDeliveryCacheFileService"}, root(std::move(root_)) { // clang-format off static const FunctionInfo functions[] = { - {0, C<&IDeliveryCacheFileService::Open>, "Open"}, - {1, C<&IDeliveryCacheFileService::Read>, "Read"}, - {2, C<&IDeliveryCacheFileService::GetSize>, "GetSize"}, - {3, C<&IDeliveryCacheFileService::GetDigest>, "GetDigest"}, + {0, D<&IDeliveryCacheFileService::Open>, "Open"}, + {1, D<&IDeliveryCacheFileService::Read>, "Read"}, + {2, D<&IDeliveryCacheFileService::GetSize>, "GetSize"}, + {3, D<&IDeliveryCacheFileService::GetDigest>, "GetDigest"}, }; // clang-format on @@ -26,7 +26,8 @@ IDeliveryCacheFileService::IDeliveryCacheFileService(Core::System& system_, IDeliveryCacheFileService::~IDeliveryCacheFileService() = default; -Result IDeliveryCacheFileService::Open(DirectoryName dir_name_raw, FileName file_name_raw) { +Result IDeliveryCacheFileService::Open(const DirectoryName& dir_name_raw, + const FileName& file_name_raw) { const auto dir_name = Common::StringFromFixedZeroTerminatedBuffer(dir_name_raw.data(), dir_name_raw.size()); const auto file_name = |