diff options
author | Lioncash <mathew1800@gmail.com> | 2022-10-21 07:52:10 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-10-21 07:53:10 +0200 |
commit | 3968faec06a24dfc97f0042591e8adc18823a8d8 (patch) | |
tree | 5af20f6e7858d27a922dece2e8cdecc072256712 /src/core/hle/kernel | |
parent | Merge pull request #9088 from Fdawgs/chore/images (diff) | |
download | yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.tar yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.tar.gz yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.tar.bz2 yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.tar.lz yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.tar.xz yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.tar.zst yuzu-3968faec06a24dfc97f0042591e8adc18823a8d8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_session_request.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/core/hle/kernel/k_session_request.h b/src/core/hle/kernel/k_session_request.h index fcf521597..5a43933cf 100644 --- a/src/core/hle/kernel/k_session_request.h +++ b/src/core/hle/kernel/k_session_request.h @@ -52,8 +52,7 @@ public: }; public: - explicit SessionMappings(KernelCore& kernel_) - : kernel(kernel_), m_mappings(nullptr), m_num_send(), m_num_recv(), m_num_exch() {} + explicit SessionMappings(KernelCore& kernel_) : kernel(kernel_) {} void Initialize() {} void Finalize(); @@ -150,16 +149,14 @@ public: private: KernelCore& kernel; Mapping m_static_mappings[NumStaticMappings]; - Mapping* m_mappings; - u8 m_num_send; - u8 m_num_recv; - u8 m_num_exch; + Mapping* m_mappings{}; + u8 m_num_send{}; + u8 m_num_recv{}; + u8 m_num_exch{}; }; public: - explicit KSessionRequest(KernelCore& kernel_) - : KAutoObject(kernel_), m_mappings(kernel_), m_thread(nullptr), m_server(nullptr), - m_event(nullptr) {} + explicit KSessionRequest(KernelCore& kernel_) : KAutoObject(kernel_), m_mappings(kernel_) {} static KSessionRequest* Create(KernelCore& kernel) { KSessionRequest* req = KSessionRequest::Allocate(kernel); @@ -297,11 +294,11 @@ private: private: SessionMappings m_mappings; - KThread* m_thread; - KProcess* m_server; - KEvent* m_event; - uintptr_t m_address; - size_t m_size; + KThread* m_thread{}; + KProcess* m_server{}; + KEvent* m_event{}; + uintptr_t m_address{}; + size_t m_size{}; }; } // namespace Kernel |