twinaphex
b4ea072ce7
(database_info.c) Cleanups
2018-02-25 21:58:52 +01:00
twinaphex
d6d89e10ba
Get rid of msg_hash dependency
2018-02-25 17:48:00 +01:00
twinaphex
fa40be2aa5
Simplify sorting
2018-02-25 17:47:36 +01:00
twinaphex
071476174d
database_info.c - get rid of hashes
2018-02-25 17:43:12 +01:00
twinaphex
8d99fd7ce0
Cleanup string manipulation
2018-02-01 11:16:13 +01:00
twinaphex
3564562563
database_info.c - use malloc
2017-09-29 05:01:00 +02:00
twinaphex
e8f39f004e
MSVC buildfixes
2017-09-19 21:29:28 +02:00
Twinaphex
ee06a8f175
Merge pull request #5447 from bkoropoff/scanning2
...
More scanning rework
2017-09-19 15:46:04 +02:00
Aaron Oneal
fb8fe84684
Fix archive scanning
...
Archive scans were broken for cores like Atari 5200 and Commodore 64 because archive contents were skipped if a core reported it supported compressed files. The problem is, it's a false assumption that just because a core supports compressed files that the content database contains CRCs for compressed files.
Instead of adding the contents of every compressed file to the scan list ahead of time, the patched logic now checks for the CRC of the archive itself as it always has but then adds the archive contents to the scan list if the archive itself is no match. This maintains the logic of adding only the archive if the core supports compressed files and the archive CRC matches but also allows for deeper content scans when there is no match.
The patch also removes `core_info_unsupported_content_path` as it was redundant with existing `core_info_database_supports_content_path` logic.
2017-09-18 23:15:28 -07:00
Brian Koropoff
93d05665c2
database_info: prioritize scanning cue/gdi files
...
Scan them before the tracks so we can avoid scanning large
files we don't need to.
2017-09-18 09:03:43 -07:00
twinaphex
3860d95c8f
Reduce stack usage
2017-09-09 21:41:38 +02:00
Brad Parker
5733d8ebd5
move content list builder into scanner task with progress, fixes menu freeze with large playlists
2017-07-09 00:44:02 -04:00
twinaphex
1cc350bfdb
Prevent some implicit memsets
2017-04-20 09:21:08 +02:00
twinaphex
8c89ec158c
Update copyrights
2017-03-22 03:09:18 +01:00
Twinaphex
216e7bcdaf
Silence more warnings on iOS
2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
0489bc6196
Cleanups
2017-01-23 15:05:11 +01:00
twinaphex
82d894c205
Cleanups
2017-01-23 15:02:29 +01:00
twinaphex
716a409816
(database_info.c) Only do strdup if val_string is not empty
2017-01-10 23:15:26 +01:00
twinaphex
bdc9bf68c6
Cleanups
2017-01-09 02:06:32 +01:00
twinaphex
fac2557885
(database_info.c) Don't use non-enum function
2016-12-20 21:40:41 +01:00
twinaphex
6d285be90c
Create database_info_build_query_enum
2016-12-20 21:19:25 +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
39b41a1f51
file_archive_get_file_list - take out HAVE_COMPRESSION code
2016-12-17 11:59:19 +01:00
Brad Parker
7be7568d7d
do not try to get an archive list if it is inside another archive
2016-11-28 18:20:01 -05:00
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -04:00
twinaphex
6b48c6ee7f
(database_info.c) Remove implicit memsets
2016-10-08 18:44:24 +02:00
twinaphex
13cf804a70
Fix signed/unsigned mismatch warnings
2016-09-30 08:23:24 +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
7e1639f33b
Create database_info_set_type
2016-09-29 10:43:38 +02:00
twinaphex
e32706581f
Create database_info_get_type
2016-09-29 10:40:25 +02:00
twinaphex
24f34431ee
Header include cleanups
2016-09-29 10:37:31 +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
bf64635acc
Try to silence one more memory leak
2016-09-25 06:14:23 +02:00
twinaphex
3f35e10014
Solve some warnings pointed out by scan-build
2016-09-25 05:55:55 +02:00
twinaphex
8320466824
Add HAVE_CONFIG_H ifdefs
2016-09-06 23:52:33 +02:00
twinaphex
e6524f961a
header include cleanups
2016-09-06 01:02:25 +02:00
twinaphex
075aea2289
Header include cleanups
2016-09-06 00:56:00 +02:00
Brad Parker
cc582db6fb
recursively scan directories for database content, fixes issue #3139
2016-08-21 00:59:41 -04:00
twinaphex
4a7bbc4dcc
Free info->genre
2016-05-24 00:33:12 +02:00
twinaphex
c17315cd27
(DRM) Prevent double free and prevent dereference before NULL check
2016-05-23 22:30:01 +02:00
twinaphex
69759f5fd7
Remove logically dead code
2016-05-23 21:55:30 +02:00
twinaphex
ac6362cae4
Combine list_special files
2016-03-20 17:28:24 +01:00
twinaphex
0b1b56214e
Try to reduce dependence on general.h
2016-02-07 13:18:48 +01:00
Jean-André Santoni
b1f22127b2
Display genre from tgdb
2016-02-04 21:20:56 +07:00
Jean-André Santoni
ab413672a9
Add support for TGDB Rating
2016-02-04 17:55:08 +07:00
Jean-André Santoni
18cf2f3f88
Display Co-op in the database informations
2016-02-03 19:36:13 +07:00
twinaphex
552e78c9bc
Rename file_extract to file_archive
2016-01-24 07:29:11 +01:00
twinaphex
7a55ae3765
Start updating headers for 2016
2016-01-10 04:06:50 +01:00