From 81ca46dd17dafa2a474a6f8eed748d604516034d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 25 Aug 2018 05:44:51 -0400 Subject: 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. --- src/core/hle/kernel/handle_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/kernel/handle_table.cpp') 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 HandleTable::Create(SharedPtr 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]; -- cgit v1.2.3