39745 Commits

Author SHA1 Message Date
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
twinaphex
92d0c1f593 (360) Update 2017-09-14 22:50:36 +02:00
twinaphex
d149d590cf Fix some Xbox unresolved symbols 2017-09-14 22:24:04 +02:00
twinaphex
3ab07fc43f Fix some Xbox unresolved symbol errors 2017-09-14 22:17:05 +02:00
twinaphex
557c6c1d19 (D3D) Try to treat HLSL shaders same as Cg shaders for now 2017-09-13 04:37:29 +02:00
twinaphex
550a140405 (Xbox) Silence warning 2017-09-13 04:35:57 +02:00
twinaphex
88b593e4af (360) Builds again(360) Builds again(360) Builds again(360) Builds
again(360) Builds again(360) Builds again(360) Builds again(360) Builds
again(360) Builds again
2017-09-13 04:33:43 +02:00
twinaphex
170b368044 (360) Some buildfixes 2017-09-13 04:21:00 +02:00
twinaphex
07148293a5 (Xbox) Some buildfixes 2017-09-13 03:18:31 +02:00
twinaphex
dd351a3501 (Xbox) Provide implementation function for inet_ntop_compat 2017-09-13 03:05:28 +02:00