344 Commits

Author SHA1 Message Date
Francisco José García García
92406fd4fa (Vita) Fix directory creation 2015-09-19 17:27:01 +02:00
twinaphex
6f9d3d5a26 (file_extract.c) Cleanup 2015-09-19 01:06:47 +02:00
twinaphex
958dcc3c02 Get rid of retro_fmemcpy - and use retro_read_file 2015-09-19 01:03:52 +02:00
twinaphex
32ddeb3f96 Rename retro_fmemcpy_alloc to retro_read_file 2015-09-19 00:36:27 +02:00
twinaphex
3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex
a6e0b2f22d (retro_file) Create retro_fmemcpy_alloc 2015-09-19 00:19:51 +02:00
twinaphex
3464781017 (PS/Vita) Buildfix for retro_file.c 2015-09-18 07:14:22 +02:00
twinaphex
57f390e44d (retro_file.c) Buildfix for non-HAVE_BUFFERED_IO path 2015-09-18 07:13:06 +02:00
twinaphex
e25f3494ba Buildfixes 2015-09-18 06:41:05 +02:00
twinaphex
c8df945792 Small cleanup 2015-09-18 05:44:13 +02:00
twinaphex
c4910985ed (retro_file.c) Cleanup retro_fopen 2015-09-18 05:42:54 +02:00
twinaphex
5fdb1c8c43 (PSP/Vita) Fix fseek/ftell functionality for PSP/Vita 2015-09-18 05:34:30 +02:00
twinaphex
611be4bc16 (file_ops) Convert some functions in file_ops over to retro_file
(retro_file.c) Fix retro_fseek and retro_ftell functions
2015-09-18 05:22:50 +02:00
twinaphex
133e85298f * Add retro_get_fd to retro_file.c
* Use retro_file in gfx/drivers_context/drm_egl_ctx.c
2015-09-18 03:47:44 +02:00
twinaphex
a547fdef50 Fix libretrodb_open - change mode to RFILE_MODE_READ - use
buffered I/O by default
2015-09-18 03:25:53 +02:00
twinaphex
b51e418c4c (retro_file.c) HAVE_BUFFERED_IO - correct fread/fwrite arguments 2015-09-18 03:21:56 +02:00
twinaphex
35bd6e6ec8 Revert retro_file.c 2015-09-18 02:38:48 +02:00
Francisco José García García
b0fb027a54 (Vita) Fix MKDIR with using correct stat.h 2015-09-18 01:22:03 +02:00
twinaphex
dd58492fa6 Remove fcntl.h 2015-09-17 22:30:01 +02:00
Alcaro
7cf03b6d47 Revert that, doesn't work. 2015-09-17 22:14:45 +02:00
Alcaro
7054c8b214 Add the final read block too. 2015-09-17 22:10:06 +02:00
Alcaro
097f81ef4e Return the correct length in this fmemcpy thing. 2015-09-17 22:08:56 +02:00
Alcaro
c8d627ff13 This looks like a buffer overflow. 2015-09-17 21:59:27 +02:00
Alcaro
691b7cffa9 Stupid fread/fwrite why do you need two arguments 2015-09-17 21:56:51 +02:00
Alcaro
1bb353ad59 This should be binary as well. 2015-09-17 21:55:50 +02:00
Alcaro
091409cc5a Rename these variables, so missed ifdefs throw more violent errors. 2015-09-17 21:54:33 +02:00
twinaphex
714972bae9 (retro_file.c) Add USE_BUFFERED_IO 2015-09-17 21:31:00 +02:00
twinaphex
a6458d6ab6 Add PSP/Vita ifdefs to retro_file.c 2015-09-17 20:48:06 +02:00
twinaphex
52213c46d5 (PSP/Vita) Set mode to 0777 2015-09-17 20:25:31 +02:00
twinaphex
82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex
55e54a30b4 Create retro_file, and have libretrodb use it 2015-09-17 19:58:06 +02:00
twinaphex
da3bec58b1 (libretro-common) Start adding retro_file.c and retro_file.h 2015-09-17 11:41:48 +02:00
twinaphex
eccda8c39a (memory_stream.c) Cleanup 2015-09-13 09:45:41 +02:00
Alcaro
5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00
Alcaro
fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
twinaphex
2ecd6f4406 file_extract.c - Some MISSING_DECLS buildfixes 2015-09-06 15:05:55 +02:00
Alcaro
474c96365d Switch to C++98. Fix some weird warnings. 2015-09-06 14:51:33 +02:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex
7ec3c5080d Cleanups 2015-09-05 21:11:12 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex
42b3c79b8e (retro_dirent.c) Win32 buildfix 2015-09-05 13:37:08 +02:00
twinaphex
7e3bdf8be5 (Vita) This header needs to be included for stat 2015-09-05 01:38:09 +02:00
twinaphex
a3349dc364 Cleanups 2015-09-04 21:01:22 +02:00
twinaphex
7829b3153c Cleanups 2015-09-04 20:56:23 +02:00
twinaphex
ab2d13d05a Cleanups 2015-09-04 20:51:50 +02:00
twinaphex
a806a67b0b (file_path.c) Remove dirent.h headers 2015-09-04 20:47:55 +02:00
twinaphex
bdc07f4c8c (Vita) retro_dirent.c - build fixes 2015-09-04 20:09:53 +02:00
twinaphex
97f8c39865 (retro_dirent.c) PS3 - cleanup 2015-09-04 19:12:19 +02:00
twinaphex
9ef5570fcc (retro_dirent.c) Add PS3 codepaths 2015-09-04 19:11:20 +02:00