From bda5e67b48c9c005573a2830118d70fddc6f78e9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 15 Feb 2018 06:49:55 +0100 Subject: [PATCH] (PS3) Use fseek for PS3 - fseeko not available --- libretro-common/vfs/vfs_implementation.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro-common/vfs/vfs_implementation.c b/libretro-common/vfs/vfs_implementation.c index 0e96f2957f..1906ec5dc8 100644 --- a/libretro-common/vfs/vfs_implementation.c +++ b/libretro-common/vfs/vfs_implementation.c @@ -123,6 +123,8 @@ int64_t retro_vfs_file_seek_internal(libretro_vfs_implementation_file *stream, i /* VC2005 and up have a special 64-bit fseek */ #ifdef ATLEAST_VC2005 return _fseeki64(stream->fp, offset, whence); +#elif defined(__CELLOS_LV2__) + return fseek(stream->fp, (long)offset, whence); #else return fseeko(stream->fp, (off_t)offset, whence); #endif