From 2d34e1b72c315d881f76b529a747f00547da66d8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 13 Jul 2020 11:00:46 -0700 Subject: [PATCH] svc/ipc: fix handle count accessors --- libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp b/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp index ce980e6b..af3b3cb5 100644 --- a/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp +++ b/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp @@ -159,11 +159,11 @@ namespace ams::svc::ipc { return this->header.Get(); } - constexpr ALWAYS_INLINE bool GetCopyHandleCount() const { + constexpr ALWAYS_INLINE s32 GetCopyHandleCount() const { return this->header.Get(); } - constexpr ALWAYS_INLINE bool GetMoveHandleCount() const { + constexpr ALWAYS_INLINE s32 GetMoveHandleCount() const { return this->header.Get(); }