mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-15 21:27:00 +02:00
Kernel: Centralize error definitions in errors.h
This commit is contained in:
parent
6210a1aaf3
commit
467545ed48
23 changed files with 178 additions and 132 deletions
|
|
@ -267,8 +267,7 @@ static void InitializeIrNopShared(Interface* self) {
|
|||
shared_memory = Kernel::g_handle_table.Get<Kernel::SharedMemory>(handle);
|
||||
if (!shared_memory) {
|
||||
LOG_CRITICAL(Service_IR, "invalid shared memory handle 0x%08X", handle);
|
||||
rb.Push(ResultCode(ErrorDescription::InvalidHandle, ErrorModule::OS,
|
||||
ErrorSummary::WrongArgument, ErrorLevel::Permanent));
|
||||
rb.Push(IPC::ERR_INVALID_HANDLE);
|
||||
return;
|
||||
}
|
||||
shared_memory->name = "IR_USER: shared memory";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue