svc/ipc: fix handle count accessors

This commit is contained in:
Michael Scire 2020-07-13 11:00:46 -07:00
parent 84d8634938
commit a4e3eae4b6

View file

@ -159,11 +159,11 @@ namespace ams::svc::ipc {
return this->header.Get<HasProcessId>(); return this->header.Get<HasProcessId>();
} }
constexpr ALWAYS_INLINE bool GetCopyHandleCount() const { constexpr ALWAYS_INLINE s32 GetCopyHandleCount() const {
return this->header.Get<CopyHandleCount>(); return this->header.Get<CopyHandleCount>();
} }
constexpr ALWAYS_INLINE bool GetMoveHandleCount() const { constexpr ALWAYS_INLINE s32 GetMoveHandleCount() const {
return this->header.Get<MoveHandleCount>(); return this->header.Get<MoveHandleCount>();
} }