From aac33b08e5eb17bf21185b241e8cfd2a665ad7e4 Mon Sep 17 00:00:00 2001 From: Jhonathan Correa Date: Tue, 9 Jun 2020 22:44:14 -0300 Subject: [PATCH] ps3netsrv 20200609 --- src/File.cpp | 3 ++- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/File.cpp b/src/File.cpp index 5e9e964..274a652 100644 --- a/src/File.cpp +++ b/src/File.cpp @@ -402,10 +402,11 @@ int64_t File::seek(int64_t offset, int whence) { if ((!is_multipart) || (!part_size)) { +#ifdef WIN32 if(offset == last_seek) return SUCCEEDED; last_seek = offset; - +#endif return seek_file(fd, offset, whence); } diff --git a/src/main.cpp b/src/main.cpp index 92d395c..805646e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1666,7 +1666,7 @@ int main(int argc, char *argv[]) printf("\033[1;37m"); #endif - printf("ps3netsrv build 20200607"); + printf("ps3netsrv build 20200609"); #ifdef WIN32 SetConsoleTextAttribute( GetStdHandle( STD_OUTPUT_HANDLE ), 0x0C );