diff options
| author | Léo Lam <leo@leolam.fr> | 2021-02-07 19:07:12 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-02-07 19:09:20 +0100 |
| commit | 255677ebe2da822b51b2c1608cb66a7855b6dd7d (patch) | |
| tree | c1063e993030bb1fccddbeb14a6af5836d8d6da0 /src/KingSystem/ActorSystem/actBaseProcHeapMgr.cpp | |
| parent | 1bb0c30e64a8a11ddc61e80692cb77cb5d93e676 (diff) | |
ksys/act: Add BaseProcHeapMgr
Why does this exist?
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcHeapMgr.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProcHeapMgr.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcHeapMgr.cpp b/src/KingSystem/ActorSystem/actBaseProcHeapMgr.cpp new file mode 100644 index 00000000..2922688b --- /dev/null +++ b/src/KingSystem/ActorSystem/actBaseProcHeapMgr.cpp @@ -0,0 +1,19 @@ +#include "KingSystem/ActorSystem/actBaseProcHeapMgr.h" + +namespace ksys::act { + +SEAD_SINGLETON_DISPOSER_IMPL(BaseProcHeapMgr) + +BaseProcHeapMgr::BaseProcHeapMgr() = default; + +BaseProcHeapMgr::~BaseProcHeapMgr() = default; + +sead::Heap* BaseProcHeapMgr::getHeap() const { + return mHeap; +} + +void BaseProcHeapMgr::setHeap(sead::Heap* heap) { + mHeap = heap; +} + +} // namespace ksys::act |
