summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-25 05:37:37 -0400
committerGravatar Lioncash2018-08-25 09:40:00 -0400
commit2fd45093f21ca32272d51771025418eda3914d7f (patch)
tree462f8775e6b2b0b6c4b2e97f8eee1f92a326e6a6 /src/core/hle/kernel
parentMerge pull request #1166 from lioncash/typo (diff)
downloadyuzu-2fd45093f21ca32272d51771025418eda3914d7f.tar.gz
yuzu-2fd45093f21ca32272d51771025418eda3914d7f.tar.xz
yuzu-2fd45093f21ca32272d51771025418eda3914d7f.zip
kernel/error: Correct kernel error code for invalid combination
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index 221cb1bb5..c4d9e8ea9 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -45,7 +45,8 @@ constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1);
45constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue); 45constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue);
46constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1); 46constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1);
47constexpr ResultCode ERR_INVALID_COMBINATION(-1); 47constexpr ResultCode ERR_INVALID_COMBINATION(-1);
48constexpr ResultCode ERR_INVALID_COMBINATION_KERNEL(-1); 48constexpr ResultCode ERR_INVALID_COMBINATION_KERNEL(ErrorModule::Kernel,
49 ErrCodes::InvalidCombination);
49constexpr ResultCode ERR_OUT_OF_MEMORY(-1); 50constexpr ResultCode ERR_OUT_OF_MEMORY(-1);
50constexpr ResultCode ERR_INVALID_ADDRESS(ErrorModule::Kernel, ErrCodes::InvalidAddress); 51constexpr ResultCode ERR_INVALID_ADDRESS(ErrorModule::Kernel, ErrCodes::InvalidAddress);
51constexpr ResultCode ERR_INVALID_ADDRESS_STATE(ErrorModule::Kernel, ErrCodes::InvalidMemoryState); 52constexpr ResultCode ERR_INVALID_ADDRESS_STATE(ErrorModule::Kernel, ErrCodes::InvalidMemoryState);