mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
8fd9f2ab5d
* start JSystem * JKRAram and JUTGamePad * started heap and thread * more JKernel * mostly finished JKernel * delete unused asm * JKRFileFinder * delete unused asm and match findNextFile * format * fix mtx_vec
22 lines
547 B
C++
22 lines
547 B
C++
#ifndef JSUFILESTREAM_H
|
|
#define JSUFILESTREAM_H
|
|
|
|
#include "JSystem/JSupport/JSURandomInputStream.h"
|
|
#include "dolphin/types.h"
|
|
|
|
struct JKRFile;
|
|
|
|
class JSUFileInputStream : public JSURandomInputStream {
|
|
public:
|
|
virtual ~JSUFileInputStream();
|
|
|
|
// TODO: fix return values
|
|
/* 802DC638 */ JSUFileInputStream(JKRFile*);
|
|
/* 802DC67C */ s32 readData(void*, s32);
|
|
/* 802DC74C */ void seekPos(s32, JSUStreamSeekFrom);
|
|
/* 802DC82C */ s32 getLength() const;
|
|
/* 802DC85C */ s32 getPosition() const;
|
|
};
|
|
|
|
#endif /* JSUFILESTREAM_H */
|