mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 20:55:45 +00:00
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.
This commit is contained in:
parent
b8be5524bc
commit
81ca46dd17
3 changed files with 4 additions and 4 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue