Merge pull request #3330 from frangarcj/master

(VITA) Fix reading files
This commit is contained in:
Twinaphex 2016-08-04 02:10:29 +02:00 committed by GitHub
commit bff9a885f8

View File

@ -131,7 +131,7 @@ RFILE *filestream_open(const char *path, unsigned mode, ssize_t len)
{
case RFILE_MODE_READ_TEXT:
#if defined(VITA) || defined(PSP)
mode_int = 0777;
mode_int = 0666;
flags = PSP_O_RDONLY;
#else
#if defined(HAVE_BUFFERED_IO)
@ -144,7 +144,7 @@ RFILE *filestream_open(const char *path, unsigned mode, ssize_t len)
break;
case RFILE_MODE_READ:
#if defined(VITA) || defined(PSP)
mode_int = 0777;
mode_int = 0666;
flags = PSP_O_RDONLY;
#else
#if defined(HAVE_BUFFERED_IO)