summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_object_name.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-07 04:23:56 +0100
committerLiam <byteslice@airmail.cc>2023-03-13 03:06:53 +0100
commit467adc1acde8316dce83d7f293217127412e18e9 (patch)
treee202b529ef7787eac6558b3505ff96214204bdb1 /src/core/hle/kernel/k_object_name.h
parentkernel: move KMemoryLayout for NX board (diff)
downloadyuzu-467adc1acde8316dce83d7f293217127412e18e9.tar
yuzu-467adc1acde8316dce83d7f293217127412e18e9.tar.gz
yuzu-467adc1acde8316dce83d7f293217127412e18e9.tar.bz2
yuzu-467adc1acde8316dce83d7f293217127412e18e9.tar.lz
yuzu-467adc1acde8316dce83d7f293217127412e18e9.tar.xz
yuzu-467adc1acde8316dce83d7f293217127412e18e9.tar.zst
yuzu-467adc1acde8316dce83d7f293217127412e18e9.zip
Diffstat (limited to 'src/core/hle/kernel/k_object_name.h')
-rw-r--r--src/core/hle/kernel/k_object_name.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_object_name.h b/src/core/hle/kernel/k_object_name.h
index b7f943134..2d97fc777 100644
--- a/src/core/hle/kernel/k_object_name.h
+++ b/src/core/hle/kernel/k_object_name.h
@@ -41,7 +41,7 @@ public:
// Check that the object is closed.
R_UNLESS(derived->IsServerClosed(), ResultInvalidState);
- return Delete(kernel, obj.GetPointerUnsafe(), name);
+ R_RETURN(Delete(kernel, obj.GetPointerUnsafe(), name));
}
template <typename Derived>