Zachary Cook
6b1d8f7144
Cleanup warnings: snprintf truncation, strncpy->memcpy, memset
2020-05-17 20:17:38 -04:00
Brad Parker
e75a1d6c58
do not mangle path for real CD access
2019-07-06 13:45:53 -04:00
krzys-h
e3d67f0f90
MSVC2017 build fixes
2019-01-05 19:45:02 +01:00
FrozenFish24
b6cfa5ec51
Prevent crash when cue sheet references a non-existant file
2018-10-18 18:06:21 +08:00
twinaphex
4a75947e0f
Update tremor
2018-04-24 06:47:48 +02:00
Lionel Flandrin
b505f54aec
Update CPU code to match upstream
2018-02-21 23:17:22 +01:00
Lionel Flandrin
bddafd31ea
Disable threaded CD code when HAVE_THREADS is unset
2018-02-17 17:58:02 +01:00
twinaphex
78836b5d1c
Start using filestream directly where possible
2017-12-19 01:42:59 +01:00
twinaphex
650b454e7b
Buildfix
2017-12-18 16:07:52 +01:00
Alberto Fustinoni
8a226e3d51
Removed dependency on file_path
2017-12-18 22:35:54 +09:00
twinaphex
b144f717e2
Add file header include
2017-12-17 16:15:28 +01:00
twinaphex
018e009006
Simplify Filestream
2017-12-15 21:43:29 +01:00
twinaphex
42d9158102
Simplify Stream
2017-12-15 21:41:23 +01:00
Garrett Brown
5274d723ac
Fix compilation on Android
...
Error was:
mednafen/cdrom/CDAccess_PBP.cpp:675:79: error:
cannot pass object of non-trivial type 'std::string' (aka 'basic_string<char>') through variadic function; call will abort at
runtime [-Wnon-pod-varargs]
log_cb(RETRO_LOG_WARN, "[PBP] Invalid path/filename for SBI file %s\n", sbi_path);
2017-11-09 10:00:18 -08:00
Zapeth
cc344b22ba
Make logging for SBI file loading more helpful
2017-10-18 20:38:47 +02:00
Brian Koropoff
6e14459d0a
Detect and report slow CD reads
...
When not using async, first try read with a timeout. If it fails,
display a message suggesting a different CD access method.
2017-10-15 14:42:07 -07:00
Brian Koropoff
c06673bd7f
Support subchannel-only reads from CCD
2017-10-15 14:42:07 -07:00
Brian Koropoff
5d227ea4b8
Avoid reading entire sector to get subchannel data
...
Since the subchannel data is either computed from scratch or
read from a separate sbi file, it's entirely unnecessary.
This avoids a synchronous file read in PreSeekHack in the CD
controller code which otherwise completely defeats async read
behavior. It also makes the sector read hint provided to the
background thread more useful.
2017-10-15 00:31:41 -07:00
Brian Koropoff
2ee4fdbd2f
Read CD sectors asynchronously to avoid stuttering
...
Rather than blocking the main thread waiting for data, try again at a
later emulation update.
2017-10-14 23:21:12 -07:00
Brian Koropoff
2acf9af74a
cdrom:chd: cache compressed data with disc cache option
...
This seems sufficient to avoid stutter without taking
as absurdly long on startup as decompressing the entire
file.
2017-10-01 12:44:14 -07:00
Brian Koropoff
e5cd40bdd1
Revert "cdrom: respect disc cache setting for chd files"
...
This reverts commit 0bb8b28179
.
2017-10-01 12:37:01 -07:00
Brian Koropoff
0bb8b28179
cdrom: respect disc cache setting for chd files
2017-09-30 10:24:42 -07:00
Zapeth
790a3d3478
CHD EOL normalization and cleanup
2017-09-02 16:06:08 +02:00
Build
a44baaefa8
Add CHD dependencies to Makefiles and namespace mednafen's md5 implementation to avoid conflicts
2017-09-01 11:25:39 +02:00
Zapeth
052a22cd8c
Add support for CHD files
2017-08-31 19:01:39 +02:00
twinaphex
93c35be4d9
Update libretro API header
2017-07-26 02:19:30 +02:00
twinaphex
f339a6e50b
Update portions of libretro-common
2017-07-26 02:13:37 +02:00
Zapeth
a869219c33
Use workaround for sloppily converted pbp files
2017-05-07 17:07:42 +02:00
twinaphex
a73d3953af
Remove CanRead() entirely
2017-03-26 18:24:11 +02:00
twinaphex
c73df8090a
Take out mednafen-endian.c
2017-02-18 03:14:24 +01:00
twinaphex
f0ac0ddd09
Get rid of override
2016-08-15 15:37:18 +02:00
twinaphex
0072138d23
Start using log_cb instead of going through MDFN_Error
2016-08-14 14:55:16 +02:00
twinaphex
6b929637e9
Updates
2016-08-14 13:54:20 +02:00
twinaphex
6f369f817e
Updates
2016-08-14 13:43:27 +02:00
twinaphex
c508e48741
Update cdrom code
2016-08-14 13:15:13 +02:00
twinaphex
aa0dbd3dcd
Update l-ec.c
2016-08-14 04:02:39 +02:00
twinaphex
f841c7f4f8
Remove SimpleFIFO
2016-08-14 03:51:42 +02:00
twinaphex
6bfeade60b
Cleanup
2016-08-08 05:56:14 +02:00
twinaphex
34e7684111
Backport CDUtility changes
2016-08-07 08:00:23 +02:00
twinaphex
44417fca27
Backport changes to SimpleFIFO
2016-08-06 16:45:44 +02:00
twinaphex
0855f09463
Remove more exceptions
2016-07-20 05:57:01 +02:00
twinaphex
d57df932ae
Fixed error handling now
2016-07-20 05:52:35 +02:00
twinaphex
1b9ca42ec9
Get rid of more exceptions
2016-07-20 05:44:09 +02:00
twinaphex
b1ff6311bd
Start getting rid of exception throwing and try/catch
2016-07-20 05:12:57 +02:00
twinaphex
5036937297
Updates to Griffin
2016-06-09 10:15:53 +02:00
twinaphex
45086ecadc
Remove some unneeded types
2016-06-07 12:43:31 +02:00
Lionel Flandrin
cbf6341aeb
Silence a few "unused variable" warnings in mednafen's code.
2016-06-01 00:59:32 +02:00
Zapeth
57b928ed7e
Fix sector calculation for last track in PBP file (again)
2016-05-11 19:18:30 +02:00
Zapeth
b59fb26b89
Fix incorrect pregap and sector values for PBP files
2016-05-11 19:18:23 +02:00
Zapeth
cccbbeb031
Fix PBP loading for games with 5 discs (apparently the area after the offsets isn't null)
2016-05-11 19:18:16 +02:00