diff options
| author | 2014-06-06 00:10:50 -0400 | |
|---|---|---|
| committer | 2014-06-13 09:51:10 -0400 | |
| commit | 8cac527c943253a9471849d17b1520f4762fbb5c (patch) | |
| tree | d771a676b1e09657b336aece8d458c66fcce1601 /src/core/hle/kernel/mutex.cpp | |
| parent | Core: Cleaned up SingleStep(), updated default LCD refresh to assume each ins... (diff) | |
| download | yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.gz yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.tar.xz yuzu-8cac527c943253a9471849d17b1520f4762fbb5c.zip | |
Kernel: Updated several member functions to be const
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 6 |
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 { | |||
| 15 | 15 | ||
| 16 | class Mutex : public Object { | 16 | class Mutex : public Object { |
| 17 | public: | 17 | public: |
| 18 | const char* GetTypeName() { return "Mutex"; } | 18 | const char* GetTypeName() const { return "Mutex"; } |
| 19 | const char* GetName() { return name.c_str(); } | 19 | const char* GetName() const { return name.c_str(); } |
| 20 | 20 | ||
| 21 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Mutex; } | 21 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Mutex; } |
| 22 | Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Mutex; } | 22 | Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Mutex; } |
| 23 | 23 | ||
| 24 | bool initial_locked; ///< Initial lock state when mutex was created | 24 | bool initial_locked; ///< Initial lock state when mutex was created |