aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/handle_table.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-25 05:44:51 -0400
committerLioncash <mathew1800@gmail.com>2018-08-25 09:40:21 -0400
commit81ca46dd17dafa2a474a6f8eed748d604516034d (patch)
treeebec2110b01f8a243d0834828ebad7ef50ab5ac1 /src/core/hle/kernel/handle_table.h
parentb8be5524bc3fd9c1d31a4a56cb321840c42ef0bb (diff)
kernel/error: Add error code for the handle table being full
This replaces the lingering 3DS constant with the proper one, and utilizes it within HandleTable's Create() member function.
Diffstat (limited to 'src/core/hle/kernel/handle_table.h')
-rw-r--r--src/core/hle/kernel/handle_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/handle_table.h b/src/core/hle/kernel/handle_table.h
index 22ddda630..aee3583e8 100644
--- a/src/core/hle/kernel/handle_table.h
+++ b/src/core/hle/kernel/handle_table.h
@@ -47,7 +47,7 @@ public:
/**
* Allocates a handle for the given object.
* @return The created Handle or one of the following errors:
- * - `ERR_OUT_OF_HANDLES`: the maximum number of handles has been exceeded.
+ * - `ERR_HANDLE_TABLE_FULL`: the maximum number of handles has been exceeded.
*/
ResultVal<Handle> Create(SharedPtr<Object> obj);