obots' content='index, nofollow'/>
summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cdrom.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Vas Crabb2024-05-221-3/+10
| | | | | * olympia/dday.cpp: Correctly size the inappropriately named "color RAM". * util/cdrom.cpp, formats/fs_fat.cpp: More const, less copying.
* util/cdrom, machine/t10mmc: Add preliminary support for multisession ↵ 9871238791132024-05-121-18/+47
| | | | | | | | | | | CD-ROMs, indexes, and track flags (#12201) * util/cdrom: Refactoring * util/cdrom: Read all indexes from cue files * util/cdrom: Read in track flags from cues * util/cdrom: Multisession support for cues * machine/t10mmc: Playback from current head, other misc cleanup * machine/t10mmc: Implement T10MMC_CMD_MECHANISM_STATUS * machine/t10mmc: Implement TOC_FORMAT_FULL_TOC, TOC_FORMAT_SESSIONS, and return proper indexes for T10MMC_CMD_READ_SUB_CHANNEL
* util/cdrom.cpp: Refactored parse_cue and parse_gdicue (should fix GitHub ↵ 9871238791132024-03-071-2/+1
| | | | | | | | | | #12081). (#12087) This should greatly improve data integrity when creating and extracting GD-ROM images. * util/cdrom.cpp: Refactored parse_cue to handle GD-ROMs. * util/cdrom.cpp: Don't discard any data from GD-ROM cue/bin input including pre-gap data. * tools/chdman.cpp: Fixed splitframes handling. * tools/chdman.cpp: Added warning when extracting GD-ROM CHDs to cue/bin format.
* util/cdrom.h: Fixed size of track info array. Vas Crabb2024-01-261-1/+1
| | | | | Also made it possible to enable VERBOSE in cdrom.cpp without link errors.
* imagedev/cdromimg.cpp: Fixed object lifecycles when loading from softlist or ↵ Vas Crabb2024-01-261-1/+1
| | | | | | | ROM region. * Reverted workaround 4c0957d7f0ba6a72e7267270db07ee06fe717109. * Cleaned up a few things.
* lib/util/cdrom.h: fix out-of-bounds MAME init crash when disc is 99 tracks angelosa2024-01-251-1/+1
| | | | * cfr. pcecd:cosmfnt and pcecd:solbianc
* machine/t10mmc.cpp: Implemented most features of T10 MMC read CD (0xbe) ↵ 9871238791132023-08-231-1/+1
| | | | command. (#11499)
* cdrom: Bunch of fixes Olivier Galibert2023-05-051-0/+1
|
* cdrom: Pass phys flag to read_partial_sector in read_subcode (#10231) 9871238791132022-08-151-1/+1
|
* srcclean in preparation for 0.243 Vas Crabb2022-04-241-5/+5
|
* cdrom_file: Removed unused and abstraction-breaking get_chd method Olivier Galibert2022-04-041-1/+0
|
* cdrom.cpp: Clean up code somewhat AJR2022-04-011-12/+12
| | | | | | - Use std::string_view for filename parameters - Use ioprocs rather than core_file - Reduce commenting out of miscellaneous logging
* cdrom_file: classify. Could use more internal work, but it's a step Olivier Galibert2022-04-011-167/+245
|
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-221-7/+7
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* util/cdrom.cpp: Return index 1/start of track data instead of index 0/start ↵ 9871238791132021-03-311-0/+1
| | | | | | | | of pregap data in generated TOC. (#7878) * Add a pre-calculated field for data from current logofs to end of track. * Removed pregap adjustment from FM Towns code. * Added pregap adjustment so track ends when audio data ends in PSX CD player. * Fixed pce_cd load error.
* support Redump extended bin/cue format for Dreamcast discs (#7422) nhand422020-12-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial check-in of Redump bin/cue support for Dreamcast GDI * correctly identifies multi-cue format and sets GDROM flags * creates a working Crazy Taxi chd from a Redump bin/cue * disabled debugging code and started tidying up * simple tool to compare chdman bin/cue and bin/gdi conversions, should be identical * final tidy up, the testing is going well * testing failed for Aero Dancing i (Japan), didnt zero last track * added some comments about .gdi compatibility * addressing review feedback on pull request #7422 * match TOSEC layout for Pattern I discs (3 tracks) * initial support for Pattern III discs * Pattern III discs now work and match TOSEC layout * reading datasize from wrong track, same result though * identify the GDI pattern, makes the code clearer * support for Pattern II and consecutive AUDIO tracks * use C99 type not POSIX type to build on Windows * support Redump tracks split across two .bin files
* Better support for screen orientation/geometry: Vas Crabb2018-07-261-7/+4
| | | | | | | | | | | | | | | | | | | | | * Eliminates the need for the horizontal/vertical/LCD/SVG layout files * Screens can now have orientation and physical aspect ratio specified * RASTER/VECTOR defaults to 4:3, LCD/SVG defaults to square pixels at config time * System orientation is applied on top of screen orientation Automatically generated single-screen views and orientation flags in XML output now work correctly for systems with multiple screens in different geometries/orientations, e.g. housemnq, rocnms, stepstag, or netmerc. The "core rotation options" only interact with system orientation. Allowing multi-screen systems to work well with one monitor per emulated screen is a complex topic. System orientation also affects the GFX viewer while screen orientation doesn't. The orientation displayed in the system selection menu is from the system orientation. Let me know if I've broken any systems or use cases. Also, add save state support for std::array/C array nested to any depth.
* needed for external work (nw) MetalliC2017-08-261-0/+1
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-34/+34
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* macro removal INLINE -> static inline (nw)