Commit Graph

39695 Commits

Author SHA1 Message Date
twinaphex
848fe719fb Some CXX_BUILD fixes 2017-09-22 04:56:58 +02:00
twinaphex
6141761e63 Take out libchdr include from interface_stream.h 2017-09-22 04:47:58 +02:00
Twinaphex
4bbaa65361 Prevent redefinition of typedef; C11 only 2017-09-22 04:43:17 +02:00
Twinaphex
3c04a9776c (OSX) Add FLAC and CHD support 2017-09-22 04:41:09 +02:00
twinaphex
a715bebaaa Cleanup 2017-09-22 04:31:54 +02:00
twinaphex
e74da12d26 Fix another memory leak 2017-09-22 00:03:40 +02:00
twinaphex
50d48139a3 Fix some more memory leaks 2017-09-21 23:38:29 +02:00
twinaphex
1a77c383b9 Fix plethora of memory leaks again 2017-09-21 21:33:13 +02:00
twinaphex
0f80e31382 task_database.c - cleanups 2017-09-21 19:57:10 +02:00
twinaphex
01b2d09a98 Avoid some warnings with Griffin 2017-09-21 19:43:01 +02:00
twinaphex
ece3dddfce Define _7ZIP_ST 2017-09-21 19:40:27 +02:00
twinaphex
d5d6f8c49a Add missing files for Griffin 2017-09-21 19:37:40 +02:00
twinaphex
939b3b8772 Updates 2017-09-21 19:37:05 +02:00
twinaphex
1e30f02ecc Merge branch 'master' of https://github.com/libretro/RetroArch 2017-09-21 19:36:48 +02:00
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
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