summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-06 09:25:58 +0100
committerbunnei <bunneidev@gmail.com>2020-12-06 09:27:13 +0100
commit1bdb756d28a00f168094e490143dba89569fe35a (patch)
tree9944737cb93c974f999909f882f5a3b9860b2066 /src/core/hle/kernel
parentcore: cpu_manager: Fix a typo in PreemptSingleCore, which broke many games. (diff)
downloadyuzu-1bdb756d28a00f168094e490143dba89569fe35a.tar
yuzu-1bdb756d28a00f168094e490143dba89569fe35a.tar.gz
yuzu-1bdb756d28a00f168094e490143dba89569fe35a.tar.bz2
yuzu-1bdb756d28a00f168094e490143dba89569fe35a.tar.lz
yuzu-1bdb756d28a00f168094e490143dba89569fe35a.tar.xz
yuzu-1bdb756d28a00f168094e490143dba89569fe35a.tar.zst
yuzu-1bdb756d28a00f168094e490143dba89569fe35a.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/process.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 36d8547bd..e412e58aa 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -217,12 +217,12 @@ public:
}
/// Gets the process schedule count, used for thread yelding
- constexpr s64 GetScheduledCount() const {
+ s64 GetScheduledCount() const {
return schedule_count;
}
/// Increments the process schedule count, used for thread yielding.
- constexpr void IncrementScheduledCount() {
+ void IncrementScheduledCount() {
++schedule_count;
}