diff options
| author | 2014-12-21 08:40:29 -0200 | |
|---|---|---|
| committer | 2014-12-28 11:52:53 -0200 | |
| commit | 23f2142009e45b227867cefe40dfe9d338625974 (patch) | |
| tree | 2e68952b577f6f59b4a24d16afa385ed5723d815 /src/core/hle/kernel/session.h | |
| parent | Rename ObjectPool to HandleTable (diff) | |
| download | yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.gz yuzu-23f2142009e45b227867cefe40dfe9d338625974.tar.xz yuzu-23f2142009e45b227867cefe40dfe9d338625974.zip | |
Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants
Diffstat (limited to 'src/core/hle/kernel/session.h')
| -rw-r--r-- | src/core/hle/kernel/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h index 6760f346e..91f3ffc2c 100644 --- a/src/core/hle/kernel/session.h +++ b/src/core/hle/kernel/session.h | |||
| @@ -45,8 +45,8 @@ class Session : public Object { | |||
| 45 | public: | 45 | public: |
| 46 | std::string GetTypeName() const override { return "Session"; } | 46 | std::string GetTypeName() const override { return "Session"; } |
| 47 | 47 | ||
| 48 | static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Session; } | 48 | static const HandleType HANDLE_TYPE = HandleType::Session; |
| 49 | Kernel::HandleType GetHandleType() const override { return Kernel::HandleType::Session; } | 49 | HandleType GetHandleType() const override { return HANDLE_TYPE; } |
| 50 | 50 | ||
| 51 | /** | 51 | /** |
| 52 | * Handles a synchronous call to this session using HLE emulation. Emulated <-> emulated calls | 52 | * Handles a synchronous call to this session using HLE emulation. Emulated <-> emulated calls |