From 7177af28f8de39c21a2363b794048de1b915156b Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 2 Nov 2015 23:11:24 -0800 Subject: [PATCH] 3DS, PSP2: Add missing VFile.readline implementations --- src/platform/3ds/3ds-vfs.c | 2 +- src/platform/psp2/sce-vfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/3ds/3ds-vfs.c b/src/platform/3ds/3ds-vfs.c index 02edfadc5..3e900ca31 100644 --- a/src/platform/3ds/3ds-vfs.c +++ b/src/platform/3ds/3ds-vfs.c @@ -67,7 +67,7 @@ struct VFile* VFileOpen3DS(FS_archive* archive, const char* path, int flags) { vf3d->d.close = _vf3dClose; vf3d->d.seek = _vf3dSeek; vf3d->d.read = _vf3dRead; - vf3d->d.readline = 0; + vf3d->d.readline = VFileReadline; vf3d->d.write = _vf3dWrite; vf3d->d.map = _vf3dMap; vf3d->d.unmap = _vf3dUnmap; diff --git a/src/platform/psp2/sce-vfs.c b/src/platform/psp2/sce-vfs.c index e949e0056..6b7666320 100644 --- a/src/platform/psp2/sce-vfs.c +++ b/src/platform/psp2/sce-vfs.c @@ -62,7 +62,7 @@ struct VFile* VFileOpenSce(const char* path, int flags, SceMode mode) { vfsce->d.close = _vfsceClose; vfsce->d.seek = _vfsceSeek; vfsce->d.read = _vfsceRead; - vfsce->d.readline = 0; + vfsce->d.readline = VFileReadline; vfsce->d.write = _vfsceWrite; vfsce->d.map = _vfsceMap; vfsce->d.unmap = _vfsceUnmap;