mirror of https://github.com/mgba-emu/mgba.git
VFS: Fix return value of VFileFILE.seek
This commit is contained in:
parent
76d486cc65
commit
7b090aa0d1
|
@ -74,7 +74,8 @@ bool _vffClose(struct VFile* vf) {
|
|||
|
||||
off_t _vffSeek(struct VFile* vf, off_t offset, int whence) {
|
||||
struct VFileFILE* vff = (struct VFileFILE*) vf;
|
||||
return fseek(vff->file, offset, whence);
|
||||
fseek(vff->file, offset, whence);
|
||||
return ftell(vff->file);
|
||||
}
|
||||
|
||||
ssize_t _vffRead(struct VFile* vf, void* buffer, size_t size) {
|
||||
|
|
Loading…
Reference in New Issue