summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
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 e928cfebc..62762531a 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -539,7 +539,7 @@ public:
}
void ClearDpc(DpcFlag flag) {
- this->GetStackParameters().dpc_flags &= ~static_cast<u8>(flag);
+ this->GetStackParameters().dpc_flags &= static_cast<u8>(~static_cast<u8>(flag));
}
u8 GetDpc() const {