3DS, PSP2: Add missing VFile.readline implementations

This commit is contained in:
Jeffrey Pfau 2015-11-02 23:11:24 -08:00
parent 47c4eb9761
commit 7177af28f8
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ struct VFile* VFileOpen3DS(FS_archive* archive, const char* path, int flags) {
vf3d->d.close = _vf3dClose; vf3d->d.close = _vf3dClose;
vf3d->d.seek = _vf3dSeek; vf3d->d.seek = _vf3dSeek;
vf3d->d.read = _vf3dRead; vf3d->d.read = _vf3dRead;
vf3d->d.readline = 0; vf3d->d.readline = VFileReadline;
vf3d->d.write = _vf3dWrite; vf3d->d.write = _vf3dWrite;
vf3d->d.map = _vf3dMap; vf3d->d.map = _vf3dMap;
vf3d->d.unmap = _vf3dUnmap; vf3d->d.unmap = _vf3dUnmap;

View File

@ -62,7 +62,7 @@ struct VFile* VFileOpenSce(const char* path, int flags, SceMode mode) {
vfsce->d.close = _vfsceClose; vfsce->d.close = _vfsceClose;
vfsce->d.seek = _vfsceSeek; vfsce->d.seek = _vfsceSeek;
vfsce->d.read = _vfsceRead; vfsce->d.read = _vfsceRead;
vfsce->d.readline = 0; vfsce->d.readline = VFileReadline;
vfsce->d.write = _vfsceWrite; vfsce->d.write = _vfsceWrite;
vfsce->d.map = _vfsceMap; vfsce->d.map = _vfsceMap;
vfsce->d.unmap = _vfsceUnmap; vfsce->d.unmap = _vfsceUnmap;