mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-15 15:25:31 +00:00
kernel/error: Correct kernel error code for invalid combination
This commit is contained in:
parent
f170159fde
commit
2fd45093f2
|
@ -45,7 +45,8 @@ constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1);
|
||||||
constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue);
|
constexpr ResultCode ERR_INVALID_ENUM_VALUE(ErrorModule::Kernel, ErrCodes::InvalidEnumValue);
|
||||||
constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1);
|
constexpr ResultCode ERR_INVALID_ENUM_VALUE_FND(-1);
|
||||||
constexpr ResultCode ERR_INVALID_COMBINATION(-1);
|
constexpr ResultCode ERR_INVALID_COMBINATION(-1);
|
||||||
constexpr ResultCode ERR_INVALID_COMBINATION_KERNEL(-1);
|
constexpr ResultCode ERR_INVALID_COMBINATION_KERNEL(ErrorModule::Kernel,
|
||||||
|
ErrCodes::InvalidCombination);
|
||||||
constexpr ResultCode ERR_OUT_OF_MEMORY(-1);
|
constexpr ResultCode ERR_OUT_OF_MEMORY(-1);
|
||||||
constexpr ResultCode ERR_INVALID_ADDRESS(ErrorModule::Kernel, ErrCodes::InvalidAddress);
|
constexpr ResultCode ERR_INVALID_ADDRESS(ErrorModule::Kernel, ErrCodes::InvalidAddress);
|
||||||
constexpr ResultCode ERR_INVALID_ADDRESS_STATE(ErrorModule::Kernel, ErrCodes::InvalidMemoryState);
|
constexpr ResultCode ERR_INVALID_ADDRESS_STATE(ErrorModule::Kernel, ErrCodes::InvalidMemoryState);
|
||||||
|
|
Loading…
Reference in a new issue