diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-22 06:43:25 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:52 +0200 |
commit | 0297448fbc6bf909b0bc061723c38208b9667b66 (patch) | |
tree | 7c21303536466b0a76331e4274ecb3e12eb40421 /src/core/hle/kernel/kernel.h | |
parent | hle: kernel: HandleTable: Remove deprecated APIs. (diff) | |
download | yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.tar yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.tar.gz yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.tar.bz2 yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.tar.lz yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.tar.xz yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.tar.zst yuzu-0297448fbc6bf909b0bc061723c38208b9667b66.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 43e49603b..19b3530b4 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -29,7 +29,7 @@ struct EventType; namespace Kernel { -class ClientPort; +class KClientPort; class GlobalSchedulerContext; class HandleTable; class KAutoObjectWithListContainer; @@ -60,7 +60,7 @@ constexpr EmuThreadHandle EmuThreadHandleReserved{1ULL << 63}; /// Represents a single instance of the kernel. class KernelCore { private: - using NamedPortTable = std::unordered_map<std::string, std::shared_ptr<ClientPort>>; + using NamedPortTable = std::unordered_map<std::string, KClientPort*>; public: /// Constructs an instance of the kernel using the given System @@ -168,7 +168,7 @@ public: void InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size); /// Adds a port to the named port table - void AddNamedPort(std::string name, std::shared_ptr<ClientPort> port); + void AddNamedPort(std::string name, KClientPort* port); /// Finds a port within the named port table with the given name. NamedPortTable::iterator FindNamedPort(const std::string& name); |