From c7983e970c7b9603d8a5c5db2a6b0b4d1007a4f1 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 31 Dec 2017 15:59:00 -0500 Subject: errors: Define missing kernel error codes. --- src/core/hle/kernel/errors.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/hle/kernel/errors.h') diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h index f8890f0e3..df182efda 100644 --- a/src/core/hle/kernel/errors.h +++ b/src/core/hle/kernel/errors.h @@ -37,6 +37,9 @@ constexpr ResultCode ERR_OUT_OF_MEMORY(-1); constexpr ResultCode ERR_INVALID_ADDRESS(-1); constexpr ResultCode ERR_INVALID_ADDRESS_STATE(-1); constexpr ResultCode ERR_INVALID_HANDLE(-1); +constexpr ResultCode ERR_INVALID_POINTER(-1); +constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1); +constexpr ResultCode ERR_NOT_AUTHORIZED(-1); /// Alternate code returned instead of ERR_INVALID_HANDLE in some code paths. constexpr ResultCode ERR_INVALID_HANDLE_OS(-1); constexpr ResultCode ERR_NOT_FOUND(-1); -- cgit v1.2.3