231 Commits

Author SHA1 Message Date
twinaphex
5c2acea38c Do 'free' on handle->stream in case of an error in file_archive_inflate_data_to_file_init 2016-01-24 18:55:50 +01:00
twinaphex
cc69cfe6a7 Use zlib_transfer_t * instead of void * 2016-01-24 18:53:37 +01:00
twinaphex
cf94c0b6c0 Move file backend back to file_archive.c 2016-01-24 16:18:18 +01:00
twinaphex
3c2a45d923 Rename file_extract functions 2016-01-24 07:42:46 +01:00
twinaphex
552e78c9bc Rename file_extract to file_archive 2016-01-24 07:29:11 +01:00
twinaphex
09e5dc9c50 Cleanup 2016-01-24 06:55:26 +01:00
twinaphex
5c615f18e1 Turn zlib_inflate_init2 into static function 2016-01-24 06:52:14 +01:00
twinaphex
280e10195c Remove zlib_crc32_adjust - reuse zlib_crc32_calculate for this 2016-01-24 06:50:18 +01:00
twinaphex
c6f7afbd9a Adjust zlib_crc32_calculate 2016-01-24 06:47:06 +01:00
twinaphex
a0e9a4c68e Cleanups 2016-01-24 06:42:57 +01:00
twinaphex
78feccd0a3 Split up file extract zlib driver code to separate file 2016-01-24 06:18:53 +01:00
twinaphex
458e3a0fad Fix zlib_extract_first_content_file - we now pass a
new string to zlib_extract_first_content_file which will
fill in the extracted first file's path, we then add this
to temporary_content string list
2016-01-24 05:41:41 +01:00
twinaphex
b4956ac7c1 zlib_get_file_list- cleanup 2016-01-23 23:02:16 +01:00
twinaphex
9c131dfaad Cleanup 2016-01-23 23:00:35 +01:00
twinaphex
365b27caac Simplify zip_extract_cb 2016-01-23 22:57:21 +01:00
Alcaro
2ffe03f732 Fix creepy type error. 2016-01-18 23:24:22 +01:00
twinaphex
6ff544ba1a Update libretro-common 2015-12-31 15:28:46 +01:00
twinaphex
68d66be389 C89_BUILD fixes 2015-12-26 08:13:33 +01:00
Higor Eurípedes
5cbcd90707 (retro_file.c) Get rid of uneeded error messages in retro_read_file()
fseek/ftell lie about the file size in some filesystems (like sysfs) and
this makes the function complain about incomplete read when the file has
been fully read.
2015-12-23 21:20:26 -03:00
Higor Eurípedes
f386c9b7f9 (file_extract) Fix invalid read in zlib_parse_file_progress() 2015-12-05 20:57:04 -03:00
Higor Eurípedes
a171f3c6d1 (task_decompress.c) Add progress report 2015-11-30 10:41:35 -03:00
twinaphex
40e8f4eba6 Dehardcode C89_BUILD ifdefs 2015-11-25 02:10:31 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
Alcaro
888ba881ec No need to free a known null... 2015-11-20 16:33:21 +01:00
Alcaro
4b96b5814f Fix some weirdness down here. 2015-11-20 16:30:55 +01:00
twinaphex
1e006e3edc Comment out config_get_uint64 when compiling for C89 2015-11-19 13:52:40 +01:00
Higor Eurípedes
24d0f40959 (retro_file) Small cleanup in fopen() 2015-11-15 20:49:04 -03:00
twinaphex
74464f1843 retro_file.c - CXX_BUILD buildfix 2015-11-15 22:58:31 +01:00
twinaphex
149d892910 Cleanup config_file.c 2015-11-15 22:28:57 +01:00
Higor Eurípedes
c2eac57529 (retro_file) Fix fseek() 2015-11-15 10:42:38 -03:00
Higor Eurípedes
e0e48e8d3e Fix console builds 2015-11-14 20:47:20 -03:00
Higor Eurípedes
f527f6466f (libretro-db) Fix build 2015-11-14 19:44:08 -03:00
Higor Eurípedes
72aa4f951c (retro_file) Fix undefined symbols on win32 2015-11-14 17:08:16 -03:00
Higor Eurípedes
0af8b9c731 (retro_file) Fix retro_fwrite() 2015-11-14 17:08:16 -03:00
Higor Eurípedes
dac22cf95b (retro_file) Make mmap fseek()/fread() a little more POSIX/ISO-C compliant 2015-11-14 16:03:49 -03:00
Higor Eurípedes
eb7b46c7c1 (retro_file) Implement RFILE_HINT_MMAP 2015-11-14 16:03:49 -03:00
Higor Eurípedes
533f41259a (retro_file) Implement RFILE_HINT_UNBUFFERED 2015-11-14 16:03:49 -03:00
Yongwoon Cho
ca9b7c141b Fix: iOS cannot go to parent directory. 2015-11-05 05:45:01 +09:00
Yongwoon Cho
9ba6877772 Fix: iOS cannot go to parent directory. 2015-11-05 05:43:13 +09:00
Yongwoon Cho
21944b2e11 Fix: iOS cannot go to parent directory. 2015-11-05 02:43:35 +09:00
Twinaphex
6f0e632f36 Get rid of dir_list_obj.m for iOS 2015-10-26 22:42:31 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
1943ccacfb Don't use compat/strl.h for OSX/iOS either 2015-10-26 00:29:16 +01:00
twinaphex
5ea75b616f Don't use compat/posix_string.h for OSX/iOS 2015-10-26 00:21:37 +01:00
twinaphex
d19477edc5 (libretro-common) Update 2015-10-25 21:12:54 +01:00
twinaphex
c96976083e Compile retro_stat as C 2015-10-25 20:57:38 +01:00
twinaphex
4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
twinaphex
14e46e0048 Remove menu_list_get_alt_at_offset 2015-10-18 21:54:20 +02:00
aliaspider
3879e2a7e7 (CTR/3DS) mkdir_norecurse: correct directory exists being treated as an
error.
2015-10-05 22:20:06 +01:00
twinaphex
56309b1f19 (retro_stat.c) Should hopefully fix this now 2015-10-03 01:46:16 +02:00