diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdevice.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdevice.h b/src/core/hle/service/nvdrv/devices/nvdevice.h index a04538d5d..af766f320 100644 --- a/src/core/hle/service/nvdrv/devices/nvdevice.h +++ b/src/core/hle/service/nvdrv/devices/nvdevice.h @@ -75,6 +75,18 @@ public: } protected: + template <typename F> + NvResult Wrap1(F&& callable, std::span<const u8> input, std::span<u8> output); + + template <typename F> + NvResult Wrap2(F&& callable, std::span<const u8> input, std::span<const u8> inline_input, + std::span<u8> output); + + template <typename F> + NvResult Wrap3(F&& callable, std::span<const u8> input, std::span<u8> output, + std::span<u8> inline_output); + +protected: Core::System& system; }; |