twinaphex
9050f75fc8
Create dir_is_empty
2016-10-01 23:30:09 +02:00
twinaphex
8409d81e8e
Revert "Create dir_is_empty"
...
This reverts commit fa469c4dcc68ff21b446d733fb70b120c9c411fd.
2016-10-01 08:16:19 +02:00
twinaphex
8458a039ca
Revert "Create dir_get"
...
This reverts commit db3738babba39fe8fce3675dc5d931012b585149.
2016-10-01 08:16:13 +02:00
twinaphex
67432fde57
Add void * param to is_set
2016-10-01 06:05:08 +02:00
twinaphex
db3738babb
Create dir_get
2016-09-30 07:11:52 +02:00
twinaphex
fa469c4dcc
Create dir_is_empty
2016-09-30 07:06:27 +02:00
twinaphex
1266c0609a
Create path_is_empty
2016-09-30 04:43:16 +02:00
twinaphex
228886062b
Create path_clear
2016-09-30 04:31:19 +02:00
twinaphex
9384875ab0
Don't use HAVE_NETPLAY any more
2016-09-29 21:07:10 +02:00
twinaphex
d6b9c4f17a
Prevent some Coverity warnings
2016-09-29 19:24:18 +02:00
twinaphex
cae92ed91d
(tasks) Cleanups
2016-09-29 12:02:45 +02:00
twinaphex
329f6ad612
Update path_get
2016-09-29 08:31:41 +02:00
twinaphex
be81edad84
Create path_get
2016-09-29 08:23:41 +02:00
twinaphex
b8a1052b73
Update path_set
2016-09-29 07:40:14 +02:00
twinaphex
89505fa011
Get rid of global->patch
2016-09-29 05:46:31 +02:00
twinaphex
a1488ae34f
Move subsystem path to paths.c
2016-09-25 15:49:09 +02:00
twinaphex
b3ec735e75
Silence some more scan-build warnings
2016-09-25 15:25:20 +02:00
twinaphex
4e3c9987f5
Prevent null pointer dereference / logically dead code / other misc. warnings
2016-09-23 16:03:37 +02:00
twinaphex
2d11ea71cc
Move runloop_fullpath to paths.c
2016-09-23 03:39:44 +02:00
twinaphex
019ea8a294
remove header include
2016-09-23 02:21:39 +02:00
twinaphex
040a1b8ba9
Move additional_path_allocs to load_content
2016-09-23 02:19:20 +02:00
twinaphex
fc3cf2ebb6
Simplify function in task_content
2016-09-23 02:14:43 +02:00
twinaphex
5d59871c05
Prevent null pointer dereference
2016-09-23 02:11:51 +02:00
twinaphex
a1971c5657
Grab system pointer inside functions instead of passing it around
2016-09-23 02:10:57 +02:00
Brad Parker
d493273bcf
use first extracted file if one is not specified and !need_fullpath and !block_extract
2016-09-22 16:03:31 -04:00
Brad Parker
f8d51c2f86
only load compressed content if the path contains the file to extract
2016-09-22 12:52:34 -04:00
twinaphex
99d24d9954
Cleanup
2016-09-21 04:19:59 +02:00
twinaphex
0ec5d9aba7
Simplify task_content.c
2016-09-21 04:09:24 +02:00
twinaphex
7edc0d9ee9
Simplify load_content_into_memory
2016-09-21 04:03:31 +02:00
twinaphex
8b67551799
Turn dump_to_file_desprate into static function
2016-09-20 04:08:55 +02:00
twinaphex
c6ab19e59c
read_content_file - Improve this a little bit
2016-09-20 03:21:26 +02:00
Brad Parker
605011ffe2
use generic crc32
2016-09-19 21:18:49 -04:00
Brad Parker
2a75b88d89
file_archive_extract_first_file can choose any file now
2016-09-18 21:22:13 -04:00
twinaphex
73c09f1d27
Cleanup
2016-09-19 01:12:39 +02:00
twinaphex
4106ff7f19
Reduce HAVE_COMPRESSION ifdefs
2016-09-19 00:56:58 +02:00
twinaphex
118a90b800
Move dir_check_defaults to dirs.c
2016-09-19 00:56:00 +02:00
twinaphex
534dca9ed1
Get rid of HAVE_COMPRESSION ifdef
2016-09-19 00:50:35 +02:00
twinaphex
975e0f2247
C89_BUILD fix
2016-09-18 19:03:31 +02:00
Brad Parker
4fadd4a110
fix uninitialized use
2016-09-18 12:49:44 -04:00
Brad Parker
dbbd49f9f9
merge with master, remove alignment test code
2016-09-18 12:44:00 -04:00
Brad Parker
f13bce4e50
- use the detected stream backend's crc32 function
...
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
twinaphex
c2e2d41452
C89_BUILD fixes
2016-09-18 18:28:33 +02:00
Brad Parker
ffefe0ccac
fix broken PR
2016-09-18 10:38:15 -04:00
Brad Parker
7c29fd6c33
create 7z archive backend, enables scanning of 7z content
2016-09-18 10:31:21 -04:00
Higor Eurípedes
824ded963b
(task_content.c) Remove trailing whitespace
2016-09-17 21:22:49 -03:00
Higor Eurípedes
e27a85d335
(task_content.c) Fix possible double free()
...
content_zip_file_decompressed_handle() didn't set the handler's data
member to NULL after freeing on error. That causes problem when the function fails and
content_zip_file_decompressed() tries to free it afterwards.
2016-09-17 21:20:27 -03:00
twinaphex
b775ee303c
Use dir_is_savefile_empty/dir_is_savestate_empty
2016-09-17 15:01:32 +02:00
twinaphex
413d14ad49
Start using dirs functions
2016-09-17 14:57:53 +02:00
twinaphex
075599e818
Start using path_ functions for accessing and modifying global->path.config
2016-09-17 13:14:14 +02:00
twinaphex
ec45dbaf0c
Move retroarch_path_is_media_type to paths.c
2016-09-17 12:56:19 +02:00