diff options
| author | Tonycons-dev <70544875+Tonycons-dev@users.noreply.github.com> | 2022-06-25 15:12:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 21:12:31 +0200 |
| commit | 43e001017fcb36ecffe4cad35ba0b73a2de29be9 (patch) | |
| tree | b1e5daca3ba948a7c9cbeb701e7c2b6db678fdae /src/KingSystem/System | |
| parent | 5b40c220e50140045ee99270d974bb8c0ab201c0 (diff) | |
ksys: Add Hio (#95)
Diffstat (limited to 'src/KingSystem/System')
| -rw-r--r-- | src/KingSystem/System/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/KingSystem/System/Hio.cpp | 7 | ||||
| -rw-r--r-- | src/KingSystem/System/Hio.h | 17 |
3 files changed, 26 insertions, 0 deletions
diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt index 0aedc96a..447ca96f 100644 --- a/src/KingSystem/System/CMakeLists.txt +++ b/src/KingSystem/System/CMakeLists.txt @@ -15,6 +15,8 @@ target_sources(uking PRIVATE DebugMessage.h HavokWorkerMgr.cpp HavokWorkerMgr.h + Hio.cpp + Hio.h KingEditor.cpp KingEditor.h MemoryProfiler.cpp diff --git a/src/KingSystem/System/Hio.cpp b/src/KingSystem/System/Hio.cpp new file mode 100644 index 00000000..6cb6eb10 --- /dev/null +++ b/src/KingSystem/System/Hio.cpp @@ -0,0 +1,7 @@ +#include "KingSystem/System/Hio.h" + +namespace ksys { + +SEAD_SINGLETON_DISPOSER_IMPL(Hio) + +} // namespace ksys diff --git a/src/KingSystem/System/Hio.h b/src/KingSystem/System/Hio.h new file mode 100644 index 00000000..b6c12c09 --- /dev/null +++ b/src/KingSystem/System/Hio.h @@ -0,0 +1,17 @@ +#pragma once + +#include <heap/seadDisposer.h> +#include <hostio/seadHostIONode.h> +#include "KingSystem/Utils/Types.h" + +namespace ksys { + +class Hio final : public sead::hostio::Node { + SEAD_SINGLETON_DISPOSER(Hio) + + Hio() = default; + ~Hio() = default; +}; +KSYS_CHECK_SIZE_NX150(Hio, 0x28); + +} // namespace ksys |
