aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/ir/ir_user.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-05-26 11:59:57 -0400
committerGitHub <noreply@github.com>2017-05-26 11:59:57 -0400
commit61decd84cc5308bded75eae62c3247a66b3698d8 (patch)
treebbe05121af1a971bc295cb81baeea63f8c54f407 /src/core/hle/service/ir/ir_user.cpp
parentbae3799bd5208d08bb52546ad0723103c94cada3 (diff)
parenta5810d61dab191b5a8e3cbb9de9fc9a8bad88826 (diff)
Merge pull request #2716 from yuriks/decentralized-result
Decentralize ResultCode
Diffstat (limited to 'src/core/hle/service/ir/ir_user.cpp')
-rw-r--r--src/core/hle/service/ir/ir_user.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/ir/ir_user.cpp b/src/core/hle/service/ir/ir_user.cpp
index 226af0083..369115f09 100644
--- a/src/core/hle/service/ir/ir_user.cpp
+++ b/src/core/hle/service/ir/ir_user.cpp
@@ -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";