mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 23:01:23 -04:00
0b8db42226
* 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 */
|