48 Commits

Author SHA1 Message Date
Brad Parker
a5f5d2b328 Update Japanese translation, cdrom cleanups 2019-07-23 22:36:29 -04:00
LazyBumHorse
2de6e9b43a silence compiler warnings 2019-07-22 19:27:31 +02:00
Brad Parker
41b3adc8a4 cdrom: always request one sector at a time 2019-07-21 12:06:10 -04:00
Brad Parker
84ac0dbc5b cdrom: skip retries for MODE SENSE command 2019-07-16 00:46:02 -07:00
Brad Parker
cc3b44f7ba cdrom: fix warnings, use dot for frame notation in disc info 2019-07-15 17:16:30 -04:00
Brad Parker
e843354b14 cdrom: use sys/ioctl header instead of stropts 2019-07-15 10:38:54 -04:00
Brad Parker
534b9125a9 cdrom: C89 fix, timeout calculation fix 2019-07-15 00:55:06 -04:00
Brad Parker
cf12a10ba0 cdrom: add CDROM tag to log prints 2019-07-10 20:56:23 -04:00
Brad Parker
980de11974 cdrom: check if disc is inserted before trying to load or dump 2019-07-10 11:17:28 -04:00
Brad Parker
b564441097 fix some warnings 2019-07-09 22:34:28 -04:00
Brad Parker
60e7e5be8d fix some warnings 2019-07-09 22:32:11 -04:00
Brad Parker
ae87f87ee3 C89 buildfix 2019-07-09 16:46:53 -04:00
twinaphex
124283a934 (MSVC 2010) Add HAVE_CDROM
(CDROM) Ensure code compiles with MSVC
2019-07-09 09:23:47 +02:00
Brad Parker
f94a924be9 cdrom: skip retries for ATIP read if command fails 2019-07-08 23:46:42 -04:00
Brad Parker
cd98fa2745 cdrom: fix drive model string corruption 2019-07-08 16:06:35 -04:00
Brad Parker
15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
Brad Parker
2ef16de941 cdrom: add atip check function, show relative and absolute MSF for read command 2019-07-08 16:06:35 -04:00
Brad Parker
9e4ce6c7e3 cdrom: fix group1 timeout error 2019-07-06 21:54:10 -04:00
Brad Parker
59d8b918a1 cdrom: store group timeouts 2019-07-06 20:16:47 -04:00
Brad Parker
44245cc942 cdrom: windows cue fix 2019-07-06 17:23:10 -04:00
Brad Parker
46ed5c3fcb vfs: fix circular dependency issues by moving main structs to separate header 2019-07-05 23:45:48 -04:00
Brad Parker
d116784249 cdrom: go back to MSF read command, still having issues with LBA calculation 2019-07-05 11:09:11 -04:00
Brad Parker
e8d488ba67 cdrom: fix conflict with libchdr function names 2019-07-04 23:05:28 -04:00
Brad Parker
d0695fc428 cdrom: add LBA offset 2019-07-04 22:42:42 -04:00
Brad Parker
38d49136ce cdrom: add function for reading via LBA numbers 2019-07-04 18:20:05 -04:00
Brad Parker
9d163493da cdrom: print sense data on each failure 2019-07-04 17:47:39 -04:00
Brad Parker
7db030f98e cdrom: add command to retrieve/print sense data 2019-07-04 16:15:21 -04:00
Brad Parker
ef669533c8 cdrom: windows buildfix 2019-07-04 14:04:25 -04:00
Brad Parker
6f0268ca30 cdrom: need const to call these from outside of internal functions 2019-07-04 01:06:47 -04:00
Brad Parker
052a8e48cf cdrom: add extra debug functions, add function to check if media is inserted/ready 2019-07-04 00:22:16 -04:00
Brad Parker
112a88688d cdrom: add windows implementation for list of available drives 2019-07-03 17:18:57 -04:00
Brad Parker
03d48ab2fd cdrom: windows buildfix 2019-07-03 16:05:15 -04:00
Brad Parker
9a52595ce3 cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry 2019-07-03 14:19:32 -04:00
Brad Parker
4cedaaefe1 cdrom: add open/close tray commands 2019-07-02 21:35:20 -04:00
Brad Parker
3817395803 cdrom: fix rounding 2019-07-02 03:31:28 -04:00
Brad Parker
1eba59a20c cdrom: fix calculation of track length, add pregap to cuesheet 2019-07-02 00:12:00 -04:00
Brad Parker
5aa2ebe6d5 cdrom: I/O always starts at the beginning of the file, and we translate those byte positions to start from the beginning MSF of the track anyway, so index should always be zero, fixes some audio playback issues 2019-06-30 19:50:58 -04:00
Brad Parker
24bd43a53f cdrom: improve position setting 2019-06-30 18:34:00 -04:00
Brad Parker
9617605371 cdrom: set optimal read speed 2019-06-30 18:34:00 -04:00
Brad Parker
fa041e4040 cdrom: fix unused variable warnings if debug is off 2019-06-30 18:34:00 -04:00
Brad Parker
8f1b150806 cdrom: windows fixes, use starting address of current track for read/seeks 2019-06-30 18:34:00 -04:00
Brad Parker
12388e038a cdrom: add flush for debug prints because they were never appearing, remove unused variables 2019-06-30 18:34:00 -04:00
Brad Parker
11106cc2a7 cdrom: linux buildfix 2019-06-30 18:34:00 -04:00
Brad Parker
07c0451b93 cdrom: add windows support 2019-06-30 18:34:00 -04:00
Brad Parker
999f4fa2e8 cdrom: retry on unit attention code 2019-06-30 18:34:00 -04:00
Brad Parker
93b81198c2 cdrom: increase retry time, use alternate method for reading sub-channel data (not all drives can read Q data from READ CD) 2019-06-30 18:34:00 -04:00
Brad Parker
8af3078966 track1 playback is working, redbook might have issues currently 2019-06-30 18:34:00 -04:00
Brad Parker
08cd3a90f2 initial cdrom reading work 2019-06-30 18:33:59 -04:00