summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/session.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2014-12-21 08:40:29 -0200
committerGravatar Yuri Kunde Schlesner2014-12-28 11:52:53 -0200
commit23f2142009e45b227867cefe40dfe9d338625974 (patch)
tree2e68952b577f6f59b4a24d16afa385ed5723d815 /src/core/hle/kernel/session.h
parentRename ObjectPool to HandleTable (diff)
downloadyuzu-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.h4
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 {
45public: 45public:
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