blob: e1064b13f5854e689826a965363c39730b5031b2 (
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
40
41
42
43
44
45
46
47
|
#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;
}
void registerPackExtension(bool has_extension, const sead::SafeString& extension) {}
void stubbedBool(bool) {}
void setResourceMgrPack(Handle* pack) {
ResourceMgrTask::instance()->setPack(pack);
}
} // namespace ksys::res
|