hle: kernel: svc_results: Update naming..

This commit is contained in:
bunnei
2021-04-11 11:41:48 -07:00
parent c2f6f2ba7a
commit 269d233a94
8 changed files with 43 additions and 42 deletions

View File

@ -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];