yuzu-emu
/
yuzu
Archived
1
0
Fork 0

kernel/process: Default initialize all member variables

Ensures a Process instance is always created with a deterministic
initial state.
This commit is contained in:
Lioncash 2019-06-05 15:08:01 -04:00
parent abdce723eb
commit e23110bd9f
1 changed files with 2 additions and 2 deletions

View File

@ -290,7 +290,7 @@ private:
u64 code_memory_size = 0;
/// Current status of the process
ProcessStatus status;
ProcessStatus status{};
/// The ID of this process
u64 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;