Commit Graph

477 Commits

Author SHA1 Message Date
twinaphex
181219ea32 (RPNG) Remove one enum 2015-09-19 01:43:31 +02:00
twinaphex
93684f2741 (RPNG) Turn decode functions static 2015-09-19 01:42:58 +02:00
twinaphex
43018976e9 (RPNG) Simplify rpng 2015-09-19 01:40:29 +02:00
twinaphex
3914fb9658 Simplify rpng_test.c 2015-09-19 01:34:27 +02:00
twinaphex
d0651bae82 (RPNG) Buildfix standalone RPNG 2015-09-19 01:30:11 +02:00
twinaphex
a052934972 Simplify rpng_fbio.c 2015-09-19 01:29:03 +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
aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +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
08456c8541 Remove fcntl header includes from more files 2015-09-18 02:48:15 +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
4ed3d66c04 Have rhash.c use retro_file 2015-09-17 20:36:44 +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
872314f910 Use UINT_FAST16_MAX/UINT_LEAST32_MAX 2015-09-15 18:59:40 +02:00
Lioncash
fc64f6d82a msvc: Conditionally enable the snprintf macro
VS2015 implements the normal form of snprintf, so the define will cause compile errors.
2015-09-14 21:50:09 -04:00
twinaphex
8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
twinaphex
eccda8c39a (memory_stream.c) Cleanup 2015-09-13 09:45:41 +02:00
twinaphex
7f9761afb6 Create kaiser_window_function/lanzcos_window_function 2015-09-13 03:43:59 +02:00
twinaphex
5adc85a207 Create libretro-common/include/filters.h 2015-09-12 21:04:20 +02:00
aliaspider
3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex
79f46c574f compat/msvc.h - define snprintf macro for _WIN32 too 2015-09-07 01:43:21 +02:00
Alcaro
dbccc4f4f0 Shut up some more warnings. 2015-09-06 16:07:26 +02:00
Alcaro
5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00