summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-08-07 21:33:31 +0200
committerbunnei <bunneidev@gmail.com>2021-12-07 01:39:17 +0100
commitd14b8fc7471061b84e7de0bd982a64660ee7f349 (patch)
treed0613a3bcf90a4903ea0b9d8343fea0d99ff8552 /src
parentcore: cpu_manager: Use invalid core_id on init and simplify shutdown. (diff)
downloadyuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.tar
yuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.tar.gz
yuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.tar.bz2
yuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.tar.lz
yuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.tar.xz
yuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.tar.zst
yuzu-d14b8fc7471061b84e7de0bd982a64660ee7f349.zip
Diffstat (limited to 'src')
-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();
}