VERY experimental Nintendo Switch 2 emulator
C++
kernel/process: Default initialize all member variables
Lioncash63b8ef17d504
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.hindex 39b098e9bb..83ea02beec 100644--- a/src/core/hle/kernel/process.h+++ b/src/core/hle/kernel/process.h@@ -290,7 +290,7 @@ private:u64 code_memory_size = 0;/// Current status of the process- ProcessStatus status;+ ProcessStatus status{};/// The ID of this processu64 process_id = 0;@@ -339,7 +339,7 @@ private:Mutex mutex;/// Random values for svcGetInfo RandomEntropy- std::array<u64, RANDOM_ENTROPY_SIZE> random_entropy;+ std::array<u64, RANDOM_ENTROPY_SIZE> random_entropy{};/// List of threads that are running with this process as their owner.std::list<const Thread*> thread_list;