Commit Graph

193 Commits

Author SHA1 Message Date
Twinaphex 2834370e09 Revert "allow serial scanner to match PBP" 2017-01-07 05:52:12 +01:00
radius 1866706c75 allow serial scanner to match PBP 2017-01-06 22:05:55 -05:00
twinaphex 6faabfeebf Don't use settings struct from thrading functions 2016-12-31 07:03:29 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex 958a028b0a (task_database.c) Remove unused message queue 2016-12-24 20:36:37 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex c8dc0fef0c Cleanups - turn some functions into static functions and move
to task_database.c
2016-12-20 21:08:31 +01:00
twinaphex d0cc1afe0a (tasks) Style nits 2016-12-04 19:12:35 +01:00
Jean-André Santoni 6cc14a4fb9 Add missing copyright mention on some files 2016-10-27 18:17:43 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
Francisco José García García 8e329a2072 Merge pull request #3781 from frangarcj/master
(VITA) Working scanning content
2016-10-13 17:51:13 +01:00
Francisco José García García 4c19543427 (VITA) Workaround for scanning content 2016-10-13 18:00:40 +02:00
twinaphex a4b90bcede Set msg[127] = 0 2016-10-13 13:33:51 +02:00
Brad Parker 88c8c49ef8 skip scanning of compressed files within archives if the core attached to this database supports archive files themselves 2016-10-12 16:14:00 -04:00
twinaphex 481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
twinaphex 1388220866 (tasks) Don't do implicit memsets in crucial performance-oriented code 2016-10-08 18:31:43 +02:00
Brad Parker fc1f2cdcf4 only scan the content databases that support the file's extension 2016-10-03 16:09:10 -04:00
twinaphex c8dc941c42 iso_get_serial - cleanup 2016-09-29 11:10:52 +02:00
twinaphex a304b42f73 (task_database.c) Cleanup 2016-09-29 11:07:56 +02:00
twinaphex 1842e35b8d Cleanups 2016-09-29 11:03:59 +02:00
twinaphex cfe91125db Create database_info_get_current_element_name 2016-09-29 10:59:50 +02:00
twinaphex b286703a81 Cleanup task_database_handler 2016-09-29 10:55:50 +02:00
twinaphex 7e1639f33b Create database_info_set_type 2016-09-29 10:43:38 +02:00
twinaphex fc3c17547e Use database_info_get_type 2016-09-29 10:41:30 +02:00
twinaphex 24f34431ee Header include cleanups 2016-09-29 10:37:31 +02:00
Twinaphex 94b0dd36ab remove unused variable 2016-09-25 15:51:46 +02:00
Brad Parker af98ee1c8a Add CRC calculation function that works with archives with or without a path inside (first file is used if no path)
Add all archive's contents to database scan list when scanning files and directories

Allow scanning a single file that is an archive

Remove unnecessary prototypes from archive_file.h

Simplify retrieving of CRCs from archives when scanning
2016-09-25 00:15:05 -04:00
twinaphex 3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +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
Brad Parker 992b87321a more archive paths 2016-09-19 21:06:23 -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 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
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
Brad Parker 7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex 397f82c9f5 Get rid of configuration.h dependency in list_special.c 2016-07-18 07:15:58 +02:00
twinaphex 21134eb28c Create FILE_PATH_DETECT 2016-06-30 06:07:44 +02:00
twinaphex fbc83640b6 More translatable strings 2016-06-30 05:58:05 +02:00
twinaphex 6756501dac Create FILE_PATH_LUTRO_PLAYLIST 2016-06-30 05:19:25 +02:00
Jean-André Santoni 0f18ade02a Add .lutro scanning
When a file wih the .lutro extension is found, the ROM is added to Lutro.lpl. The name of the game is the name of the file without the extension.
2016-06-29 15:07:12 +02:00
twinaphex ca3eecf5c0 Create fill_pathname_join_noext 2016-06-28 13:05:46 +02:00
twinaphex 2dddc3fc88 Add FILE_PATH_LPL_EXTENSION 2016-06-26 10:12:28 +02:00
twinaphex dee7533d65 (libretro-common) Start creating STRING_REP_ULONG 2016-06-23 07:37:02 +02:00
twinaphex c3eda56561 Move hashes over to msg_hash.c 2016-06-20 17:55:34 +02:00
twinaphex 68bf755fe7 Remove two unused hashes 2016-06-20 16:19:30 +02:00