twinaphex
ba28328e8b
(file_ops.c) Fix -Wsign_compare warning
2015-06-23 11:49:24 +02:00
twinaphex
c36e21ed13
(General) Cleanup
2015-06-12 17:00:37 +02:00
Lioncash
61b8e370ca
file_ops: Get rid of unnecessary if statement
...
fread won't null out the given buffer; nullity is already checked above the fread call.
2015-05-07 18:09:04 -04:00
twinaphex
c26804335b
(libretro-common) Move file_extract.c to libretro-common
2015-03-28 20:14:19 +01:00
twinaphex
ed933aab05
Take dependencies out of file_extract.h
2015-03-28 18:09:40 +01:00
twinaphex
d3b964a1c2
Style nits
2015-03-22 07:37:25 +01:00
Twinaphex
726c64369f
(Apple) Buildfix
2015-03-21 22:28:12 +01:00
twinaphex
fad16b5c60
(file_ops.c) Cleanups
2015-03-21 09:42:15 +01:00
twinaphex
08f13ccc0d
Cleanup read_generic_file
2015-03-21 09:40:29 +01:00
twinaphex
414d964a8b
Simplify file_read some more
2015-03-21 09:34:50 +01:00
twinaphex
3ebcfad8c0
(file_ops.c) Simplify read_file
2015-03-21 09:31:07 +01:00
twinaphex
bdb8475647
Fixup some C++ comments
2015-03-20 17:59:10 +01:00
twinaphex
7378299282
Create rarch_main_get_ptr
2015-03-18 06:47:22 +01:00
twinaphex
969152b902
(file_ops.c) read_generic_file - set len to -1 in case of an error
2015-03-18 05:29:06 +01:00
twinaphex
93a7ae4493
file_ops.c - cleanups
2015-03-18 01:12:07 +01:00
twinaphex
35c2d74d1a
Cleanup in read_generic_file
2015-03-03 09:51:06 +01:00
twinaphex
0752a114f3
Change returntype of read_file
2015-02-23 01:27:39 +01:00
unknown
24cbff147b
additional error tracking after file reads, when closing the stream
2015-02-19 18:03:57 -05:00
unknown
a8fea21f11
additional error tracking on reading file streams if fseek
fails
2015-02-19 17:57:49 -05:00
unknown
586c620609
Also treat file reading as an error if ftell
reports invalid length.
...
`ftell` is documented to return -1L if the function failed to get the current position indicator in the stream. The possibility is easily set aside just by checking if the function returned a negative length.
2015-02-19 17:54:13 -05:00
twinaphex
932fc3d353
read_generic_file - add early return if rom_buf is NULL
2015-02-19 04:21:08 +01:00
twinaphex
ceb09648eb
Change to ssize_t
2015-02-16 03:46:27 +01:00
twinaphex
47889ff755
(Android) Build fix
2015-02-16 03:38:52 +01:00
twinaphex
935b112a11
Refactor read_file
2015-02-16 03:31:37 +01:00
twinaphex
b0f8ac993c
Refactor read_generic_file
2015-02-16 00:44:28 +01:00
twinaphex
cc5147e1c9
Remove unused read_file_string
2015-01-31 10:50:46 +01:00
twinaphex
c4bbede867
Remove unused write_empty_file()
2015-01-16 01:33:07 +01:00
twinaphex
0a2e7afe27
Move read_compressed_file to file_ops.c
2015-01-11 16:38:20 +01:00
twinaphex
e8b5423252
Document file_ops.c
2015-01-08 15:08:44 +01:00
twinaphex
453321c50b
Start updating headers
2015-01-07 17:46:50 +01:00
twinaphex
9a9fa6532a
Move file_path.c to libretro SDK
2014-10-22 00:23:06 +02:00
twinaphex
dd93d549aa
Rename rarch_file_path to file_ops
2014-10-21 23:53:09 +02:00