diff options
| author | Jonathan Wase <jonathan@familjenwase.se> | 2020-12-05 18:45:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-05 12:45:10 -0500 |
| commit | fb1217e3f95c64dc5dcc096c246704f26803c2ac (patch) | |
| tree | 1ee8b5a0d18849137b27a9f9c21b9ebf26d2cc7a /libs/JSystem/JKernel/JKRFileCache.cpp | |
| parent | 3dc3739ebdfb524bf80591a1c612ccccff9ef5a0 (diff) | |
Types and functions for JKRThread, JKRFile, JKRDvdFile, JKRFileCache... (#17)
* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine
* JKRDisposer!
* only 4 functions not OK in JKRHeap
* JKRThread asm functions
* more JKRThread
* JKRThreadSwitch
* JKRThread::JKRThread
* More JKRTHread functions and vtable
* fixed bad merge
* update JKRThread and JKRThreadSwitch to use new virtual inheritance
* save before asmsplit.py script
* JKRFile
* JKRDvdFile
* JKRFileCache
* JKRFileFinder
* JKRFileLoader
* JKRAssertHeap
* JKRExpHeap
* JKRSolidHeap
* fixed type and functions definitions
* JKRArchive (Pub)
* missed file
* JKRArchive
* forgot obj_files.mk
* fixed merge error and class members
* class members
* removed unused asm files
* added names to global variables
* class members for JKRHeap, JKRExpHeap, JKRSolidHeap, and JKRFileCache.
Diffstat (limited to 'libs/JSystem/JKernel/JKRFileCache.cpp')
| -rw-r--r-- | libs/JSystem/JKernel/JKRFileCache.cpp | 123 |
1 files changed, 122 insertions, 1 deletions
diff --git a/libs/JSystem/JKernel/JKRFileCache.cpp b/libs/JSystem/JKernel/JKRFileCache.cpp index 4bf93c8658..70a6f04c9a 100644 --- a/libs/JSystem/JKernel/JKRFileCache.cpp +++ b/libs/JSystem/JKernel/JKRFileCache.cpp @@ -1 +1,122 @@ -// ok +#include "JSystem/JKernel/JKRFileCache/JKRFileCache.h" +#include "global.h" + +asm void JKRFileCache::mount(char const*, JKRHeap*, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D49B4.s" +} + +asm JKRFileCache::JKRFileCache(char const*, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D4AB4.s" +} + +asm JKRFileCache::~JKRFileCache() { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D4C70.s" +} + +asm void JKRFileCache::becomeCurrent(char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D4D44.s" +} + +asm void JKRFileCache::getResource(char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D4DD8.s" +} + +asm void JKRFileCache::getResource(unsigned long, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D4EDC.s" +} + +asm void JKRFileCache::readResource(void*, unsigned long, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D4F64.s" +} + +asm void JKRFileCache::readResource(void*, unsigned long, unsigned long, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D503C.s" +} + +asm void JKRFileCache::removeResourceAll(void) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D50D4.s" +} + +asm void JKRFileCache::removeResource(void*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D5164.s" +} + +asm void JKRFileCache::detachResource(void*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D51F8.s" +} + +asm void JKRFileCache::getResSize(void const*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D526C.s" +} + +asm void JKRFileCache::countFile(char const*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D52A0.s" +} + +asm void JKRFileCache::getFirstFile(char const*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D531C.s" +} + +asm void JKRFileCache::findCacheBlock(void const*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D53B8.s" +} + +asm void JKRFileCache::findCacheBlock(unsigned long) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D53E4.s" +} + +asm void JKRFileCache::findFile(char*, char const*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D5410.s" +} + +asm void JKRFileCache::getDvdPathName(char const*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D551C.s" +} + +asm void JKRFileCache::convStrLower(char*) const { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D5624.s" +} + +asm JKRFileCache::CCacheBlock::CCacheBlock(unsigned long, unsigned long, void const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D566C.s" +} + +asm void JKRFileCache::getFsResource(char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D56C8.s" +} + +asm void JKRFileCache::getNameResource(unsigned long, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D56F4.s" +} + +asm void JKRFileCache::readFsResource(void*, unsigned long, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D5720.s" +} + +asm void JKRFileCache::readNameResource(void*, unsigned long, unsigned long, char const*) { + nofralloc +#include "JSystem/JKernel/JKRFileCache/asm/func_802D574C.s" +} |
