Commit Graph

160 Commits

Author SHA1 Message Date
sonninnos
f3588ceadb Use less strict extension matching 2024-10-09 19:18:53 +03:00
libretroadmin
66f2d6c4ce Header include cleanups - avoid errno among other things 2022-12-14 19:05:58 +01:00
libretroadmin
0763daa1da Reduce strlens 2022-07-21 16:40:55 +02:00
libretroadmin
b1583d3f38 Silence warnings 2022-07-16 17:59:33 +02:00
twinaphex
4a73adc23d Cleanups/buildfix 2021-11-18 01:15:38 +01:00
twinaphex
e74142b9dd Cleanups - get rid of stdio.h in many places 2021-11-18 01:05:31 +01:00
twinaphex
f319cf5f8e Get rid of error_on_eos 2021-04-08 20:30:54 +02:00
twinaphex
c2f658b7d0 Get rid of throws - ErrnoHolder 2021-04-05 17:08:32 +02:00
jdgleaver
0c0f833e5e Update libchdr 2021-03-22 11:33:49 +00:00
Romain TISSERAND
42f91bf0c9 Fix compile 2020-11-03 14:06:51 +01:00
twinaphex
4137fb2987 Simplify SimpleFIFO some more 2020-10-15 07:32:20 +02:00
twinaphex
921dbed515 Simplify SimpleFIFo 2020-10-15 07:18:00 +02:00
twinaphex
4ab8759468 Get rid of overloading 2020-09-14 09:58:05 +02:00
jdgleaver
d97126561f Add support for frontend message interface v1 2020-05-29 14:43:50 +01:00
twinaphex
f212238b31 Cleanups 2020-05-26 19:22:48 +02:00
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