summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hle_ipc.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-10-15 05:19:22 +0200
committergerman77 <juangerman-13@hotmail.com>2023-10-17 07:36:46 +0200
commitc73bb33ff138e72c134f1fedbd9fb59c50c6bf62 (patch)
tree74b12cbf901ef4fbf1ca78d390285d6e9a8ab6c4 /src/core/hle/service/hle_ipc.h
parentImprovement in Directory Path Detection for Shortcuts (#11749) (diff)
downloadyuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar
yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.gz
yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.bz2
yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.lz
yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.xz
yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.zst
yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.zip
Diffstat (limited to 'src/core/hle/service/hle_ipc.h')
-rw-r--r--src/core/hle/service/hle_ipc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/hle_ipc.h b/src/core/hle/service/hle_ipc.h
index 4bd24c899..ad5259a5c 100644
--- a/src/core/hle/service/hle_ipc.h
+++ b/src/core/hle/service/hle_ipc.h
@@ -253,6 +253,12 @@ public:
return domain_message_header.has_value();
}
+ /// Helper function to get a span of a buffer using the buffer descriptor A
+ [[nodiscard]] std::span<const u8> ReadBufferA(std::size_t buffer_index = 0) const;
+
+ /// Helper function to get a span of a buffer using the buffer descriptor X
+ [[nodiscard]] std::span<const u8> ReadBufferX(std::size_t buffer_index = 0) const;
+
/// Helper function to get a span of a buffer using the appropriate buffer descriptor
[[nodiscard]] std::span<const u8> ReadBuffer(std::size_t buffer_index = 0) const;