mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
hle: kernel: svc_results: Update naming..
This commit is contained in:
parent
635fc8bda3
commit
b6c0ce8781
8 changed files with 43 additions and 42 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue