Commit Graph

39754 Commits

Author SHA1 Message Date
twinaphex
105b98b837 Rename gl_legacy_renderchain to gl2_renderchain 2017-09-19 15:06:49 +02:00
twinaphex
2fb68c7007 (D3D9 HLSL) Cleanups 2017-09-19 15:02:51 +02:00
twinaphex
0ddc349557 (D3D9 HLSL) Cleanups 2017-09-19 14:58:56 +02:00
twinaphex
52970c773b Cleanup 2017-09-19 14:55:18 +02:00
Twinaphex
406aa2a1e7 Merge pull request #5456 from aarononeal/hotfix/archive-scanning
Fix archive scanning
2017-09-19 14:47:54 +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
Brad Parker
2c45f0c31e don't confuse libflac PACKAGE_VERSION with RetroArch's 2017-09-18 20:21:37 -04:00
Brian Koropoff
d4beeeda33 task_database: skip serials for the right file type! 2017-09-18 09:03:43 -07:00
Brian Koropoff
84edc8ffb0 task_database: prune files referenced from cue/gdi files
Since we use cue/gdi files to find the right track file to
scan, don't bother scanning them separately.
2017-09-18 09:03:43 -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
Brian Koropoff
46e78e9d1b task_database: fix parsing CUEs with one track 2017-09-18 09:03:43 -07:00
Brian Koropoff
c6c090052e task_database: fix memory leak 2017-09-18 09:03:43 -07:00
Brian Koropoff
6c1044a699 task_database: support GDI files 2017-09-18 09:03:43 -07:00
Brian Koropoff
70ff0aa0c1 msg_hash: support GDI files 2017-09-18 09:03:43 -07:00
Brian Koropoff
7061cb14fb chd_stream: support CHDs from GDI files 2017-09-18 09:03:43 -07:00
Brian Koropoff
fa6d0fac67 task_database: more scanning rework
- Use the primary (largest data) track for CRC identification, as it
  seems least likely to be shared among multiple discs
- CRC the primary track when importing a loose .cue file.
- If multiple tracks are in the same file, CRC the correct chunk
2017-09-18 09:03:43 -07:00
Brian Koropoff
5b20c13f92 chd_stream: support PRIMARY special track 2017-09-18 09:00:39 -07:00
Brian Koropoff
edf90d250f task_database: fix memory leak in error path 2017-09-18 09:00:39 -07:00
twinaphex
770640be58 Fix more dereference before NULL checks 2017-09-18 16:40:38 +02:00
twinaphex
fa7a792180 Fix dereference before NULL check 2017-09-18 16:39:28 +02:00
twinaphex
60c7f8e35f Fix 'pointer to local outside scope' 2017-09-18 16:35:31 +02:00
twinaphex
c90307c585 Buildfix 2017-09-18 16:22:27 +02:00
twinaphex
e931bad7d1 Cleanups 2017-09-18 16:18:25 +02:00
twinaphex
49cf80db10 Fix resource leaks 2017-09-18 15:57:05 +02:00
twinaphex
21ff58f66e Cleanups 2017-09-18 12:55:11 +02:00
twinaphex
bda1aefccc Add rules to Griffin 2017-09-18 12:27:11 +02:00
Twinaphex
6648ebed0d Silence some warnings 2017-09-18 11:56:59 +02:00
Twinaphex
5c6ad1645d Merge pull request #5449 from bkoropoff/serial-info-crash
menu_displaylist: don't crash on serial-only database entries
2017-09-18 10:29:45 +02:00
Twinaphex
8b666ff73d Merge pull request #5450 from bkoropoff/windows-chd
CHD support on Windows
2017-09-18 10:29:28 +02:00
Brian Koropoff
a536532e30 Unleash the compressed hunks of data 2017-09-17 22:04:29 -07:00
Brian Koropoff
3b7a202934 Fix libchdr build on Windows 2017-09-17 22:04:11 -07:00
Brian Koropoff
f1eaf787ec Fix libFLAC build in Windows 2017-09-17 22:03:38 -07:00
Brian Koropoff
1bbb7aff08 menu_displaylist: don't crash on serial-only database entries 2017-09-17 21:31:42 -07:00
Twinaphex
23fe08cb4b Merge pull request #5446 from fr500/master
only set_controller=true for the number of ports the core supports
2017-09-17 20:21:31 +02:00
radius
971458c039 only set_controller=true for the number of ports the core supports 2017-09-17 12:44:17 -05:00
twinaphex
e35eeb8a42 Cleanups 2017-09-17 19:06:58 +02:00
twinaphex
9cfc41d96c Fix warnings 2017-09-17 18:53:58 +02:00
twinaphex
4e71b75a7d include retro_inline.h 2017-09-17 18:38:51 +02:00
twinaphex
f67641c52c (libchdr) Can't have C++ comments
(config.params.sh) Have to disable FLAC for now; still doesn't
compile for Windows due to fseeko/ftello errors
2017-09-17 18:36:55 +02:00
Twinaphex
1d3a2d7002 Merge pull request #5445 from bkoropoff/scanning
Make scanning support .chd files
2017-09-17 18:29:09 +02:00
Brian Koropoff
94830e80d6 clang supports GCC block expressions 2017-09-17 02:38:54 -07:00
Brian Koropoff
5a3969d4fa task_database: rework cd scanning
Support chd files.  Fall back to using the CRC32 of the last track
of CDs if a serial number is not available.  This requires new
database files, but is necessary for chd scanning to work.
2017-09-17 02:11:07 -07:00
Brian Koropoff
08ce00d798 msg_hash: support chd files 2017-09-17 02:02:04 -07:00
Brian Koropoff
a5dc63b390 common: integrate chd into interface stream 2017-09-17 02:02:04 -07:00
Brian Koropoff
2c7b6a94e4 common: add chd_stream interface 2017-09-17 02:02:04 -07:00
Brian Koropoff
8a5fe21702 deps:7zip: add files needed by libchdr 2017-09-17 02:02:04 -07:00
Brian Koropoff
4ead5da18a deps: import libFLAC
This is needed by libchdr
2017-09-17 02:02:04 -07:00
Brian Koropoff
d41ea34d6b upgrade libchdr 2017-09-17 02:02:04 -07:00
Brad Parker
836111b99b C89 buildfix 2017-09-16 19:06:55 -04:00
twinaphex
e5fdc50812 Fix build 2017-09-14 22:56:31 +02:00