Commit Graph

15 Commits

Author SHA1 Message Date
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