2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

kernel/k_shared_memory: Ensure device_memory is always initialized

This commit is contained in:
Lioncash 2022-12-05 15:16:50 -05:00
parent c3fd211b43
commit efa8711bf3

View file

@ -74,7 +74,7 @@ public:
static void PostDestroy([[maybe_unused]] uintptr_t arg) {} static void PostDestroy([[maybe_unused]] uintptr_t arg) {}
private: private:
Core::DeviceMemory* device_memory; Core::DeviceMemory* device_memory{};
KProcess* owner_process{}; KProcess* owner_process{};
KPageGroup page_list; KPageGroup page_list;
Svc::MemoryPermission owner_permission{}; Svc::MemoryPermission owner_permission{};