summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-03 20:42:28 +0200
committerLioncash <mathew1800@gmail.com>2018-08-03 20:46:30 +0200
commite649db8c6bbb3e76f610fe9511e2dfc33bd6b322 (patch)
tree694a05a620eb067c4d1b338035c439e44a764401
parentkernel/process: Use accessors instead of class members for referencing segment array (diff)
downloadyuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.tar
yuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.tar.gz
yuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.tar.bz2
yuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.tar.lz
yuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.tar.xz
yuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.tar.zst
yuzu-e649db8c6bbb3e76f610fe9511e2dfc33bd6b322.zip
-rw-r--r--src/core/hle/kernel/process.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index f29ee67c6..992689186 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -4,6 +4,7 @@
#pragma once
+#include <array>
#include <bitset>
#include <cstddef>
#include <memory>
@@ -101,7 +102,7 @@ struct CodeSet final : public Object {
std::shared_ptr<std::vector<u8>> memory;
- Segment segments[3];
+ std::array<Segment, 3> segments;
VAddr entrypoint;
/// Name of the process