summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-08-07 21:33:31 +0200
committerbunnei <bunneidev@gmail.com>2021-08-07 21:33:31 +0200
commit5060a9721091b3cc994a73569bfd5ab573b9f47d (patch)
treec5443971ec7bd294bcc323c844785595f055db78 /src/core/hle
parentcore: cpu_manager: Use invalid core_id on init and simplify shutdown. (diff)
downloadyuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.tar
yuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.tar.gz
yuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.tar.bz2
yuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.tar.lz
yuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.tar.xz
yuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.tar.zst
yuzu-5060a9721091b3cc994a73569bfd5ab573b9f47d.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/k_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h
index a149744c8..8bbf66c52 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -773,7 +773,7 @@ public:
class KScopedDisableDispatch {
public:
- explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} {
+ [[nodiscard]] explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} {
GetCurrentThread(kernel).DisableDispatch();
}