aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/handle_table.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-11 11:41:48 -0700
committerbunnei <bunneidev@gmail.com>2021-05-05 16:40:51 -0700
commitb6c0ce878153d97a80e7ab9df7ab7a9c89cbad75 (patch)
tree7bcfd27ba2a9eee20d696307240108f40320ae04 /src/core/hle/kernel/handle_table.cpp
parent635fc8bda378ffb9d8e98a9e8595cc8f99673796 (diff)
hle: kernel: svc_results: Update naming..
Diffstat (limited to 'src/core/hle/kernel/handle_table.cpp')
-rw-r--r--src/core/hle/kernel/handle_table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/handle_table.cpp b/src/core/hle/kernel/handle_table.cpp
index cc3210ef2c..adfcd3c5be 100644
--- a/src/core/hle/kernel/handle_table.cpp
+++ b/src/core/hle/kernel/handle_table.cpp
@@ -68,7 +68,7 @@ ResultVal<Handle> HandleTable::Create(Object* obj) {
const u16 slot = next_free_slot;
if (slot >= table_size) {
LOG_ERROR(Kernel, "Unable to allocate Handle, too many slots in use.");
- return ResultHandleTableFull;
+ return ResultOutOfHandles;
}
next_free_slot = generations[slot];
@@ -93,7 +93,7 @@ ResultCode HandleTable::Add(Handle* out_handle, KAutoObject* obj, u16 type) {
const u16 slot = next_free_slot;
if (slot >= table_size) {
LOG_ERROR(Kernel, "Unable to allocate Handle, too many slots in use.");
- return ResultHandleTableFull;
+ return ResultOutOfHandles;
}
next_free_slot = generations[slot];