summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/resSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/Resource/resSystem.cpp')
-rw-r--r--src/KingSystem/Resource/resSystem.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/KingSystem/Resource/resSystem.cpp b/src/KingSystem/Resource/resSystem.cpp
index f4238ad1..c40b9df9 100644
--- a/src/KingSystem/Resource/resSystem.cpp
+++ b/src/KingSystem/Resource/resSystem.cpp
@@ -1,4 +1,5 @@
#include "KingSystem/Resource/resSystem.h"
+#include "KingSystem/Resource/resEntryFactory.h"
#include "KingSystem/Resource/resResourceMgrTask.h"
namespace ksys::res {
@@ -7,6 +8,14 @@ bool stubbedLogFunction() {
return true;
}
+void registerEntryFactory(EntryFactoryBase* factory, const sead::SafeString& name) {
+ ResourceMgrTask::instance()->registerFactory(factory, name);
+}
+
+void unregisterEntryFactory(EntryFactoryBase* factory) {
+ ResourceMgrTask::instance()->unregisterFactory(factory);
+}
+
bool isHostPath(const sead::SafeString& path) {
return ResourceMgrTask::instance()->isHostPath(path);
}