summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/errors.h
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2018-06-21 09:40:29 +0200
committerMichael Scire <SciresM@gmail.com>2018-06-21 09:40:29 +0200
commit9d71ce88cee58d2e171ec5ed82daf075112fb422 (patch)
tree3e8dfaf638c2e63124295d2c8ed1b20c6060c847 /src/core/hle/kernel/errors.h
parentKernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs. (diff)
downloadyuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.tar
yuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.tar.gz
yuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.tar.bz2
yuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.tar.lz
yuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.tar.xz
yuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.tar.zst
yuzu-9d71ce88cee58d2e171ec5ed82daf075112fb422.zip
Diffstat (limited to 'src/core/hle/kernel/errors.h')
-rw-r--r--src/core/hle/kernel/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index 7ac960042..221cb1bb5 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -29,6 +29,7 @@ enum {
SynchronizationCanceled = 118,
TooLarge = 119,
InvalidEnumValue = 120,
+ InvalidState = 125,
};
}
@@ -49,6 +50,7 @@ constexpr ResultCode ERR_OUT_OF_MEMORY(-1);
constexpr ResultCode ERR_INVALID_ADDRESS(ErrorModule::Kernel, ErrCodes::InvalidAddress);
constexpr ResultCode ERR_INVALID_ADDRESS_STATE(ErrorModule::Kernel, ErrCodes::InvalidMemoryState);
constexpr ResultCode ERR_INVALID_HANDLE(ErrorModule::Kernel, ErrCodes::InvalidHandle);
+constexpr ResultCode ERR_INVALID_STATE(ErrorModule::Kernel, ErrCodes::InvalidState);
constexpr ResultCode ERR_INVALID_POINTER(-1);
constexpr ResultCode ERR_INVALID_OBJECT_ADDR(-1);
constexpr ResultCode ERR_NOT_AUTHORIZED(-1);