ksys: Add Hio (#95)

This commit is contained in:
Tonycons-dev
2022-06-25 15:12:31 -04:00
committed by GitHub
parent 5b40c220e5
commit 43e001017f
4 changed files with 29 additions and 3 deletions
+2
View File
@@ -15,6 +15,8 @@ target_sources(uking PRIVATE
DebugMessage.h
HavokWorkerMgr.cpp
HavokWorkerMgr.h
Hio.cpp
Hio.h
KingEditor.cpp
KingEditor.h
MemoryProfiler.cpp
+7
View File
@@ -0,0 +1,7 @@
#include "KingSystem/System/Hio.h"
namespace ksys {
SEAD_SINGLETON_DISPOSER_IMPL(Hio)
} // namespace ksys
+17
View File
@@ -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