mirror of
https://github.com/zeldaret/tp
synced 2026-05-24 23:22:01 -04:00
fb1217e3f9
* 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.
27 lines
530 B
C++
27 lines
530 B
C++
#ifndef __JKRFILE_H__
|
|
#define __JKRFILE_H__
|
|
|
|
#include "dolphin/types.h"
|
|
#include "JSystem/JKernel/JKRDisposer/JKRDisposer.h"
|
|
|
|
class JKRFile : public JKRDisposer {
|
|
public:
|
|
JKRFile();
|
|
virtual ~JKRFile();
|
|
|
|
virtual bool open(const char*);
|
|
virtual void close();
|
|
virtual void readData(void*, long, long);
|
|
virtual s32 writeData(const void*, long, long);
|
|
virtual s32 getFileSize();
|
|
virtual bool open(long);
|
|
|
|
s32 read(void*, long, long);
|
|
|
|
private:
|
|
bool mIsOpen;
|
|
u8 field_0x19[3];
|
|
};
|
|
|
|
#endif
|