diff options
author | MooglyGuy <MooglyGuy@users.noreply.github.com> | 2022-01-07 16:32:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 02:32:21 +1100 |
commit | a3cc6df3495d4fd390c51170acaeaafe267ad964 (patch) | |
tree | 177a3d095e5f31fbc5b521f38054318e2c730758 /src/lib | |
parent | 6cb03e6627bcca748b6f114ecd53b5da33c55f6f (diff) |
-Significant updates to the CD-i driver [Ryan Holtz] (#9102)
-mcd212: Assorted changes. [Ryan Holtz]
* Replaced verboselog with logmacro.
* Corrected end-of-line region control handling, fixing garbage in The Apprentice.
* Fixed screen bitmap handling to be more in line with MAME standards.
* Simplified region-control handling.
* Removed historical reliance on debug machine switches.
* Converted to use a map() function rather than an internal switch.
* Converted to use dipalette and rgb_t internally instead of separate CLUT arrays.
* Optimized by replacing rgb_t usage with uint32_t values.
* Optimized by calculating plane transparency on the fly.
* Templatized mix_lines to reduce inner-loop branching.
* Fixed a clamping issue with pre-calculated DYUV limits.
* Reduce effective color depth back to 6:6:6 to match hardware.
-cdrom: Allow recognizing CDI/2352 in cuesheets. [Ryan Holtz]
-cdic: Various audio-related changes. [Ryan Holtz]
* Attempt to descramble sectors that don't initially appear sensible.
* Added support for playing CDDA sectors.
* Fixed faulty logic in TOC processing.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/util/cdrom.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util/cdrom.cpp b/src/lib/util/cdrom.cpp index 8545ed4725a..a935cd50612 100644 --- a/src/lib/util/cdrom.cpp +++ b/src/lib/util/cdrom.cpp @@ -970,6 +970,11 @@ static void cdrom_get_info_from_type_string(const char *typestring, uint32_t *tr *trktype = CD_TRACK_MODE2_RAW; *datasize = 2352; } + else if (!strcmp(typestring, "CDI/2352")) + { + *trktype = CD_TRACK_MODE2_RAW; + *datasize = 2352; + } else if (!strcmp(typestring, "AUDIO")) { *trktype = CD_TRACK_AUDIO; |