aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/handle_table.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-27 18:37:48 -0400
committerGitHub <noreply@github.com>2018-08-27 18:37:48 -0400
commita409d49bbd2fe68fde2c5bacd83a4b2e5f396641 (patch)
tree38a7ceb610ba22622bfc5142aca139ff7fe7f882 /src/core/hle/kernel/handle_table.cpp
parent2f5ed3877cf1d597673e584d77103497dc0377db (diff)
parentf708207ae6209229de0bde1c5c6a43d7345575d0 (diff)
Merge pull request #1177 from lioncash/err
kernel/error: Amend several error codes
Diffstat (limited to 'src/core/hle/kernel/handle_table.cpp')
-rw-r--r--src/core/hle/kernel/handle_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/handle_table.cpp b/src/core/hle/kernel/handle_table.cpp
index 28e21428a..6d9f7a02b 100644
--- a/src/core/hle/kernel/handle_table.cpp
+++ b/src/core/hle/kernel/handle_table.cpp
@@ -26,7 +26,7 @@ ResultVal<Handle> HandleTable::Create(SharedPtr<Object> obj) {
u16 slot = next_free_slot;
if (slot >= generations.size()) {
LOG_ERROR(Kernel, "Unable to allocate Handle, too many slots in use.");
- return ERR_OUT_OF_HANDLES;
+ return ERR_HANDLE_TABLE_FULL;
}
next_free_slot = generations[slot];