mirror of
https://github.com/zeldaret/tp
synced 2026-07-10 07:06:50 -04:00
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.
This commit is contained in:
@@ -1 +1,68 @@
|
||||
// ok
|
||||
#include "JSystem/JKernel/JKRDvdFile/JKRDvdFile.h"
|
||||
#include "global.h"
|
||||
|
||||
|
||||
asm JKRDvdFile::JKRDvdFile(void) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9584.s"
|
||||
}
|
||||
|
||||
asm JKRDvdFile::JKRDvdFile(char const *) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D95F8.s"
|
||||
}
|
||||
|
||||
asm JKRDvdFile::JKRDvdFile(long) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D96A0.s"
|
||||
}
|
||||
|
||||
asm JKRDvdFile::~JKRDvdFile() {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9748.s"
|
||||
}
|
||||
|
||||
asm void JKRDvdFile::initiate(void) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D97E4.s"
|
||||
}
|
||||
|
||||
asm bool JKRDvdFile::open(char const *) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9850.s"
|
||||
}
|
||||
|
||||
asm bool JKRDvdFile::open(long) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D98C4.s"
|
||||
}
|
||||
|
||||
asm void JKRDvdFile::close(void) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9938.s"
|
||||
}
|
||||
|
||||
asm void JKRDvdFile::readData(void *, long, long) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D99B4.s"
|
||||
}
|
||||
|
||||
asm s32 JKRDvdFile::writeData(void const *, long, long) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9A68.s"
|
||||
}
|
||||
|
||||
asm void JKRDvdFile::sync(void) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9A70.s"
|
||||
}
|
||||
|
||||
asm void JKRDvdFile::doneProcess(long, DVDFileInfo *) {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9AC4.s"
|
||||
}
|
||||
|
||||
asm s32 JKRDvdFile::getFileSize(void) const {
|
||||
nofralloc
|
||||
#include "JSystem/JKernel/JKRDvdFile/asm/func_802D9AF8.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user