700 Commits

Author SHA1 Message Date
twinaphex
2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex
e799defcb8 Cleanup 2016-09-23 02:50:29 +02:00
twinaphex
9db91a92c3 Get rid of unused typedef 2016-09-23 02:49:25 +02:00
twinaphex
8fd94e4aab Move variables around 2016-09-23 02:48:10 +02:00
twinaphex
4a1f593689 Get rid of unused typedef 2016-09-23 02:47:05 +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
2c29e599e8 Revert this code back to what it was 2016-09-22 16:28:45 +02:00
twinaphex
693a9660f3 Prevent null pointer dereference 2016-09-22 16:10:51 +02:00
twinaphex
4db42db980 content_flush_save_blocks - cleanup 2016-09-22 14:40:07 +02:00
twinaphex
dad9a079c7 Rework content_flush_save_blocks/content_allocate_save_blocks 2016-09-22 14:39:13 +02: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
55517dbc12 Prevent warning 2016-09-21 02:17:32 +02:00
Brad Parker
b7735520f2 fix scanning of archive files 2016-09-20 15:40:29 -04:00
Brad Parker
6ac73c5655 use generic crc32 to scan files with 2016-09-20 13:34:56 -04:00
twinaphex
8b67551799 Turn dump_to_file_desprate into static function 2016-09-20 04:08:55 +02:00
twinaphex
0c86536bdc task_image.c - get rid of ifdefs 2016-09-20 04:05:16 +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
992b87321a more archive paths 2016-09-19 21:06:23 -04:00
twinaphex
c7a739b2bd C89_BUILD fix 2016-09-20 03:01:20 +02:00
Brad Parker
d49add014c forgot more archive paths 2016-09-19 20:58:52 -04:00
Brad Parker
137968c001 treat .apk files as .zip, set archive_path any time we need to decompress a file 2016-09-19 18:38:33 -04:00
twinaphex
1e5d4198de Add HAVE_CONFNIG_H - task_save.c 2016-09-19 19:27:19 +02:00
twinaphex
bfeb0111f8 Fix C89_BUILD errors 2016-09-19 18:29:10 +02:00
Twinaphex
1205b12e15 remove unused variables 2016-09-19 04:23:53 +02:00
twinaphex
c133b03a63 Move task_save_files to task_save.c 2016-09-19 04:22:02 +02:00
twinaphex
8469235005 global->savefiles only accessed now from task_save.c 2016-09-19 04:18:40 +02:00
twinaphex
2277428f52 Move more global->savefiles usage to task_save.c 2016-09-19 04:09:27 +02:00
twinaphex
f91a8eacdb Move event_load_files to task_save.c 2016-09-19 04:05:44 +02:00
twinaphex
11ced5d438 relocate HAVE_CONFIG_H ifdef 2016-09-19 03:41:55 +02:00
twinaphex
2ecef082f8 Cleanups 2016-09-19 03:36:55 +02:00
Brad Parker
2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
twinaphex
bb6bc9bd6d Merge task_save_ram/task_save_state 2016-09-19 02:57:23 +02:00
twinaphex
13d9e7c761 Deduplicate some code in task_save_ram.c/task_save_state.c 2016-09-19 02:44:00 +02: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
Brad Parker
050ab56038 set archive path before extracting 2016-09-18 16:05:58 -04:00
twinaphex
6544b0bcd7 Get rid of HAVE_LIBRETRODB ifdefs 2016-09-18 21:50:39 +02:00
Brad Parker
a7ffead8f6 fix more memory corruption 2016-09-18 15:20:27 -04:00
Brad Parker
dc4760f5a6 fix another wrong type 2016-09-18 14:39:37 -04:00