mirror of
https://github.com/zeldaret/tp
synced 2026-07-09 14:55:32 -04:00
Add Progress.md (#187)
* Match DynamicLink * finish merge * Add Progress.md and update readme
This commit is contained in:
@@ -218,12 +218,12 @@ inline JKRCompression JKRConvertAttrToCompressionType(u32 attr) {
|
||||
return JKRArchive::convertAttrToCompressionType(attr);
|
||||
}
|
||||
|
||||
inline void* JKRGetResource(u32 node, const char* path, JKRArchive* archive) {
|
||||
return JKRArchive::getGlbResource(node,path,archive);
|
||||
}
|
||||
|
||||
inline void* JKRGetTypeResource(u32 tag, const char* name, JKRArchive* arc) {
|
||||
return JKRArchive::getGlbResource(tag, name, arc);
|
||||
}
|
||||
|
||||
inline void* JKRGetResource(u32 tag, const char* name, JKRArchive* arc) {
|
||||
return JKRArchive::getGlbResource(tag, name, arc);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -43,11 +43,10 @@ inline void* JKRDvdToMainRam(s32 entryNum, u8* dst, JKRExpandSwitch expandSwitch
|
||||
offset, compression, returnSize);
|
||||
}
|
||||
|
||||
inline void* JKRDvdToMainRam(char const* param_0, u8* dst, JKRExpandSwitch expandSwitch,
|
||||
u32 dstLength, JKRHeap* heap,
|
||||
JKRDvdRipper::EAllocDirection allocDirection, u32 offset,
|
||||
JKRCompression* compression, u32* returnSize) {
|
||||
return JKRDvdRipper::loadToMainRAM(param_0, dst, expandSwitch, dstLength, heap, allocDirection,
|
||||
inline void* JKRDvdToMainRam(const char* name, u8* dst, JKRExpandSwitch expandSwitch, u32 dstLength,
|
||||
JKRHeap* heap, JKRDvdRipper::EAllocDirection allocDirection,
|
||||
u32 offset, JKRCompression* compression, u32* returnSize) {
|
||||
return JKRDvdRipper::loadToMainRAM(name, dst, expandSwitch, dstLength, heap, allocDirection,
|
||||
offset, compression, returnSize);
|
||||
}
|
||||
|
||||
|
||||
@@ -54,6 +54,10 @@ public:
|
||||
static JSUList<JKRFileLoader> sVolumeList;
|
||||
};
|
||||
|
||||
inline bool JKRDetachResource(void* resource, JKRFileLoader* fileLoader) {
|
||||
return JKRFileLoader::detachResource(resource,fileLoader);
|
||||
}
|
||||
|
||||
inline void* JKRGetNameResource(const char* name, JKRFileLoader* loader) {
|
||||
return JKRFileLoader::getGlbResource(name, loader);
|
||||
}
|
||||
@@ -62,8 +66,4 @@ inline void* JKRGetResource(const char* name) {
|
||||
return JKRFileLoader::getGlbResource(name);
|
||||
}
|
||||
|
||||
inline bool JKRDetachResource(void* resource, JKRFileLoader* loader) {
|
||||
return JKRFileLoader::detachResource(resource, loader);
|
||||
}
|
||||
|
||||
#endif /* JKRFILELOADER_H */
|
||||
|
||||
Reference in New Issue
Block a user