summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/resSystem.cpp
blob: c40b9df95f041edf4e703ed5c6e793d1e3e6150e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "KingSystem/Resource/resSystem.h"
#include "KingSystem/Resource/resEntryFactory.h"
#include "KingSystem/Resource/resResourceMgrTask.h"

namespace ksys::res {

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);
}

bool returnFalse() {
    return false;
}

bool returnFalse2(const sead::SafeString&) {
    return false;
}

bool returnFalse3(const sead::SafeString&) {
    return false;
}

s32 getDefaultAlignment() {
    return 8;
}

}  // namespace ksys::res