diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-21 11:40:29 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-28 14:52:53 +0100 |
commit | 23f2142009e45b227867cefe40dfe9d338625974 (patch) | |
tree | 2e68952b577f6f59b4a24d16afa385ed5723d815 /src/core/hle/kernel/mutex.cpp | |
parent | Rename ObjectPool to HandleTable (diff) | |
download | yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.gz yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.bz2 yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.lz yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.xz yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.zst yuzu-23f2142009e45b227867cefe40dfe9d338625974.zip |
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r-- | src/core/hle/kernel/mutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index abfe178a0..08462376d 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -18,8 +18,8 @@ public: std::string GetTypeName() const override { return "Mutex"; } std::string GetName() const override { return name; } - static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Mutex; } - Kernel::HandleType GetHandleType() const override { return Kernel::HandleType::Mutex; } + static const HandleType HANDLE_TYPE = HandleType::Mutex; + HandleType GetHandleType() const override { return HANDLE_TYPE; } bool initial_locked; ///< Initial lock state when mutex was created bool locked; ///< Current locked state |