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/event.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/event.cpp')
| -rw-r--r-- | src/core/hle/kernel/event.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp index 36c7dcbc8..72a190f8c 100644 --- a/src/core/hle/kernel/event.cpp +++ b/src/core/hle/kernel/event.cpp | |||
| @@ -16,10 +16,10 @@ namespace Kernel { | |||
| 16 | 16 | ||
| 17 | class Event : public Object { | 17 | class Event : public Object { |
| 18 | public: | 18 | public: |
| 19 | const char* GetTypeName() { return "Event"; } | 19 | const char* GetTypeName() const { return "Event"; } |
| 20 | const char* GetName() { return name.c_str(); } | 20 | const char* GetName() const { return name.c_str(); } |
| 21 | 21 | ||
| 22 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Event; } | 22 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Event; } |
| 23 | Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Event; } | 23 | Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Event; } |
| 24 | 24 | ||
| 25 | ResetType intitial_reset_type; ///< ResetType specified at Event initialization | 25 | ResetType intitial_reset_type; ///< ResetType specified at Event initialization |