diff options
author | Lioncash <mathew1800@gmail.com> | 2014-08-19 06:20:56 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-08-19 06:32:48 +0200 |
commit | ab4648d3ca38c68579a72b2260dfbea81e26730f (patch) | |
tree | acc964ea1b91fb2c13baf8244b006bb98deabc1c /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #55 from lioncash/string (diff) | |
download | yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.tar yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.tar.gz yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.tar.bz2 yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.tar.lz yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.tar.xz yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.tar.zst yuzu-ab4648d3ca38c68579a72b2260dfbea81e26730f.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 6a2e395ed..0e7e5ff68 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -4,6 +4,7 @@ #pragma once +#include <array> #include <string> #include "common/common.h" @@ -160,9 +161,9 @@ private: INITIAL_NEXT_ID = 0x10, }; - Object* pool[MAX_COUNT]; - bool occupied[MAX_COUNT]; - int next_id; + std::array<Object*, MAX_COUNT> pool; + std::array<bool, MAX_COUNT> occupied; + int next_id; }; extern ObjectPool g_object_pool; |