Commit Graph

41544 Commits

Author SHA1 Message Date
twinaphex 46b79ccd78 Compilation fixes - headers need to be moved to separate include dir 2017-09-21 19:34:46 +02:00
twinaphex 477be1108a Merge branch 'master' of https://github.com/libretro/RetroArch 2017-09-21 19:31:04 +02:00
twinaphex 158920a786 Merge branch 'master' of https://github.com/libretro/RetroArch 2017-09-21 19:30:24 +02:00
twinaphex c0de19f23d Update 2017-09-21 19:29:13 +02:00
twinaphex c3b5981dc0 Create minmax.h for libchdr 2017-09-21 19:28:32 +02:00
twinaphex 6f5867b0fc Merge branch 'master' of https://github.com/libretro/RetroArch 2017-09-21 19:26:27 +02:00
Twinaphex cff35f3611 Fix warning - wrong type used 2017-09-21 19:24:42 +02:00
twinaphex df60512a0d Cleanup our dep version of 7zip - we don't want non-stdint types.
Other misc. cleanups
2017-09-21 19:23:09 +02:00
twinaphex e3f20e4b56 Merge branch 'master' of https://github.com/libretro/RetroArch 2017-09-21 18:27:31 +02:00
Twinaphex cf94e8e9c9 Merge pull request #5460 from fr500/master
Fix #2566 again
2017-09-21 16:35:48 +02:00
Twinaphex 7af2cc3b60 Merge pull request #5461 from bkoropoff/serial-crash
Fix crash importing small disc images
2017-09-21 16:35:27 +02:00
Brian Koropoff 2cfedab339 task_database_cue: only return error when errno would be set
On a short read, errno will be 0, and returning 0 without
setting system_name will cause a crash later.  Just continue
to the next magic number instead.
2017-09-20 21:24:59 -07:00
radius a3f04ffa9b update CHANGES.md 2017-09-20 23:00:41 -05:00
radius bb7243a412 fix offset, add a couple comments 2017-09-20 22:50:28 -05:00
twinaphex f58329d921 Add include dir for libflac 2017-09-20 23:20:17 +02:00
twinaphex 0002912328 Change size of variables 2017-09-20 16:35:18 +02:00
twinaphex e9a072c1ce uniquely name D3D function for initing renderchain 2017-09-20 14:53:40 +02:00
twinaphex 808a723969 Fix memory leaks 2017-09-20 12:18:31 +02:00
twinaphex ac732ecdb0 Fix memory leak 2017-09-20 12:13:44 +02:00
twinaphex 37715114ae Cleanup 2017-09-20 09:55:53 +02:00
Twinaphex 01c30f23c6 Merge pull request #5458 from aarononeal/hotfix/scan-path-hint
Optimize scanning using directory name hint
2017-09-20 09:32:25 +02:00
Aaron Oneal 4a929bd8e2 Optimize scanning using directory name hint
As discussed in issue #5440, directory scans are slow when compressed files must be checked against multiple databases. This commit adds support to hint to the scanner that a particular database should be used so that only a single scan is required. If the directory name being scanned matches the database name then that single database is selected.
2017-09-19 16:58:28 -07:00
Aaron Oneal 6ac4486f4d Fix typo from 9a76a93ea that broke the build 2017-09-19 16:49:45 -07:00
Twinaphex 9a76a93ea8 OSX buildfixes/cleanups 2017-09-19 21:37:51 +02:00
twinaphex e8f39f004e MSVC buildfixes 2017-09-19 21:29:28 +02:00
twinaphex b3a45a9899 Enable HAVE_FLAC and HAVE_CHD for Android 2017-09-19 21:19:34 +02:00
Twinaphex ee06a8f175 Merge pull request #5447 from bkoropoff/scanning2
More scanning rework
2017-09-19 15:46:04 +02:00
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
r5 d5321c2001 Fix missing include 2017-09-19 13:49:51 +01: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
r5 cc5adc56ac (shaders) Change RARCH_WARN message, add missing newline 2017-09-18 18:12:00 +01: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