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/thread.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/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 6196c352c..da93e006c 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -25,10 +25,10 @@ namespace Kernel { | |||
| 25 | class Thread : public Kernel::Object { | 25 | class Thread : public Kernel::Object { |
| 26 | public: | 26 | public: |
| 27 | 27 | ||
| 28 | const char* GetName() { return name; } | 28 | const char* GetName() const { return name; } |
| 29 | const char* GetTypeName() { return "Thread"; } | 29 | const char* GetTypeName() const { return "Thread"; } |
| 30 | 30 | ||
| 31 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Thread; } | 31 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Thread; } |
| 32 | Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Thread; } | 32 | Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Thread; } |
| 33 | 33 | ||
| 34 | inline bool IsRunning() const { return (status & THREADSTATUS_RUNNING) != 0; } | 34 | inline bool IsRunning() const { return (status & THREADSTATUS_RUNNING) != 0; } |