summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-06 06:10:50 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-13 15:51:10 +0200
commit8cac527c943253a9471849d17b1520f4762fbb5c (patch)
treed771a676b1e09657b336aece8d458c66fcce1601 /src/core/hle/kernel/mutex.cpp
parentCore: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cycles (diff)
downloadyuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar
yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.gz
yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.bz2
yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.lz
yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.xz
yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.zst
yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.zip
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 133c43079..9d909ea01 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -15,10 +15,10 @@ namespace Kernel {
class Mutex : public Object {
public:
- const char* GetTypeName() { return "Mutex"; }
- const char* GetName() { return name.c_str(); }
+ const char* GetTypeName() const { return "Mutex"; }
+ const char* GetName() const { return name.c_str(); }
- static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Mutex; }
+ static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Mutex; }
Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Mutex; }
bool initial_locked; ///< Initial lock state when mutex was created