From b4afb591a7465220ca40811924645932f568f319 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 13 Jun 2019 11:57:43 +0200 Subject: implemented GTA stream read functions --- src/FileMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/FileMgr.cpp') diff --git a/src/FileMgr.cpp b/src/FileMgr.cpp index 02c797ba..d4e0b89b 100644 --- a/src/FileMgr.cpp +++ b/src/FileMgr.cpp @@ -163,8 +163,8 @@ myfseek(int fd, long offset, int whence) static int myfeof(int fd) { -// return feof(myfiles[fd].file); - return ferror(myfiles[fd].file); + return feof(myfiles[fd].file); +// return ferror(myfiles[fd].file); } -- cgit v1.2.3