diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-03 20:42:28 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-03 20:46:30 +0200 |
commit | e649db8c6bbb3e76f610fe9511e2dfc33bd6b322 (patch) | |
tree | 694a05a620eb067c4d1b338035c439e44a764401 | |
parent | kernel/process: Use accessors instead of class members for referencing segment array (diff) | |
download | yuzu-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.h | 3 |
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 |