Commit Graph

349 Commits

Author SHA1 Message Date
Cacodemon345
bc1b5f63bc Implement Mode Sense/Mode Select and volume controls 2025-07-27 01:42:12 +06:00
Cacodemon345
c32056b614 Return "cooked" Q subchannel for Panasonic 2025-07-26 23:22:51 +06:00
Cacodemon345
9268557c3d Fix seek commands for MKE 2025-07-26 22:41:22 +06:00
Cacodemon345
ab838a4f93 Audio tracks now listed properly 2025-07-26 22:27:25 +06:00
Cacodemon345
baae7b185c Fix reading on CDMKE driver 2025-07-26 21:52:50 +06:00
Cacodemon345
93785bd77c Fix LBA offset calculation 2025-07-26 21:17:32 +06:00
Cacodemon345
1d958724dc Merge remote-tracking branch 'origin/master' into mke 2025-07-26 18:17:07 +06:00
Miran Grča
62ba66f4ea image_get_track_info(): Uninvert start and end. 2025-07-26 14:16:36 +02:00
Cacodemon345
643590893c More Panasonic/MKE updates 2025-07-26 17:19:56 +06:00
Jasmine Iwanek
c959c9263a Add I/O Config 2025-07-25 17:36:10 -04:00
Jasmine Iwanek
188b6da202 Whitespace cleanups, formatting, license headers 2025-07-25 17:33:44 -04:00
Cacodemon345
976516fa62 Fix reading more than 1 sector 2025-07-26 02:07:57 +06:00
Cacodemon345
5d7ff05c21 Fix more missed stuff 2025-07-26 00:51:33 +06:00
Cacodemon345
08250c3cbd Fix some mistakes 2025-07-26 00:32:21 +06:00
Cacodemon345
472f0cb7d9 Non-working MKE/Panasonic interface 2025-07-25 16:33:53 +06:00
OBattler
f165e7eae3 MDS: Fix an out of bounds fread(). 2025-07-25 00:20:56 +02:00
OBattler
82cab486b2 MDS: Roll an in-house solution for UTF-16 to UTF-8 conversion based on code from StackExchange. 2025-07-24 23:45:25 +02:00
OBattler
42ceb2ed33 Explicitly link libiconv, it's apparently required on Mac. 2025-07-24 23:16:34 +02:00
OBattler
83314e7cc1 MDS: Apparently, iconv requires pointers to pointers of char. 2025-07-24 23:11:40 +02:00
OBattler
79edc5aa12 MDS: Use iconv instead of wcstombs() on non-Windows platforms. 2025-07-24 22:58:55 +02:00
OBattler
73cec3ab2a MDS: Do not use fgetws, as it does not behave correctly on Linux. 2025-07-24 22:38:36 +02:00
OBattler
ea7f01c793 MDS: Do not open the same file more than once in a row. 2025-07-24 22:32:23 +02:00
OBattler
1cc310b579 CD-ROM Image: Mark all MDS structures as packed. 2025-07-24 21:04:28 +02:00
OBattler
ae08ac6f46 CD-ROM Image: Handle failed loads more graciously, with a visible warning or two. 2025-07-24 18:28:16 +02:00
OBattler
fb00027eff CD-ROM: Fix CRC and parity checking for XA Mode 2 Form 1 sectors. 2025-07-24 16:49:01 +02:00
OBattler
8944c920ae CD-ROM: Parity and CRC checking support, System Shock 2 now works with a directly mounted .CUE image as well. 2025-07-24 14:12:20 +02:00
OBattler
1923f3ec66 Added MDS support. 2025-07-24 12:08:58 +02:00
OBattler
8b3465287a cdrom_read_disc_information(): Make sure ls_last is in buffer[6], not buffer[5]. 2025-07-04 05:26:37 +02:00
Jasmine Iwanek
026f765495 Some codeql fixes 2025-06-29 00:12:06 -04:00
Jasmine Iwanek
b71e321236 Assorted cleaning 2025-06-06 21:55:06 -04:00
OBattler
c438073d68 CD-ROM Image: Actually close image if ret = 0 also in case of a cue sheet, and also warn if ret = 0, closes #5552. 2025-05-06 03:41:33 +02:00
OBattler
fc3a6379b5 A small sanity check in the VISO code. 2025-05-06 03:36:05 +02:00
Alexander Babikov
d5cc259d65 Dev branch: Enable Mitsumi CD-ROM in the UI 2025-04-18 01:36:40 +05:00
OBattler
18aea4e19f CD-ROM: Fix a newly introduced accidental division by zero. 2025-04-17 00:30:12 +02:00
OBattler
90265546e6 CD-ROM: Do not stop playing on a READ command that immediately terminates with an "illegal mode for this track" error, fixes track skipping in the Windows 95 CD Player. 2025-04-17 00:18:38 +02:00
OBattler
bb1b666010 Removed some commented out stuff. 2025-03-17 00:43:18 +01:00
OBattler
c79844a889 Conflict resolution. 2025-03-13 21:21:25 +01:00
OBattler
8722fe0080 CD-ROM: Optimize Windows IOCTL disc change checking. 2025-03-13 21:17:25 +01:00
Jasmine Iwanek
fc639750ac Fix three warnings 2025-03-10 05:28:11 -04:00
OBattler
c8d88d1dd0 Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-02-14 07:40:18 +01:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
1a0cefc3b3 And some more. 2025-02-14 03:29:35 +01:00
OBattler
da360ab9da IOCTL: Fix detection of whether or not the disc has audio, fixes audio playing. 2025-02-13 23:37:27 +01:00
OBattler
44c6daad1c Fixed IOCTL failing to read raw TOC after hard reset. 2025-02-13 08:36:36 +01:00
OBattler
9a1ae5997f Fixed ATAPI transfer split by sectors and improved the performance of IOCTL by making it no longer constantly open and close the handle. 2025-02-13 01:44:10 +01:00
OBattler
c1f0bab3b1 Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-02-13 00:50:25 +01:00
OBattler
4806519388 The device_t available/poll union is now gone, mouse poll is now set using mouse_set_poll(), and mouse_curr is now also gone. 2025-02-13 00:23:35 +01:00
OBattler
74e0408201 Current WIP CD-ROM changes. 2025-02-09 20:06:15 +01:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
OBattler
35a12e0826 CD-ROM: IOCTL now detects medium changes without having to read the host drive's TOC on every operation, improves performance. 2025-02-03 10:57:19 +01:00