25 #include <pspkerneltypes.h> 26 #include "backends/platform/psp/powerman.h" 28 #include "common/noncopyable.h" 29 #include "common/stream.h" 30 #include "common/str.h" 53 mutable int _errorSource;
58 bool physicalSeekFromCur(int32 offset);
73 bool err()
const override;
75 bool eos()
const override;
77 uint32
write(
const void *dataPtr, uint32 dataSize)
override;
78 bool flush()
override;
80 int64
pos()
const override;
81 int64
size()
const override;
82 bool seek(int64 offs,
int whence = SEEK_SET)
override;
83 uint32
read(
void *dataPtr, uint32 dataSize)
override;
86 int suspend()
override;
87 int resume()
override;
int64 pos() const override
uint32 read(void *dataPtr, uint32 dataSize) override
Definition: powerman.h:35
static PspIoStream * makeFromPath(const Common::String &path, bool writeMode)
bool seek(int64 offs, int whence=SEEK_SET) override
Definition: noncopyable.h:39
uint32 write(const void *dataPtr, uint32 dataSize) override
bool err() const override
bool eos() const override
Definition: psp-stream.h:35
int64 size() const override