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
Zer0xFF
04e9cef462
explicit use flag RTLD_LOCAL
with dlopen()
...
On OSX, `dlopen()` default to`RTLD_GLOBAL` while linux defaults to `RTLD_LOCAL`.
so on OSX, it can cause issue with false positively detecting shared library as statically linked, as was the case with `Play!`.
2019-07-09 14:42:23 +01: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
0b1ee7d00a
windows buildfix
2019-07-06 09:58:33 -04:00
twinaphex
3ffc5fc343
(MSVC2017 UWP) Buildfix
2019-07-06 07:29:51 +02:00
twinaphex
538cca8bcd
Fix issue in file_stream.c - it would corrupt memory if
...
maxlen is negative
2019-07-06 06:20:01 +02: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
788b6cd39c
remove unimplemented command
2019-07-04 17:50:38 -04:00
Brad Parker
9d163493da
cdrom: print sense data on each failure
2019-07-04 17:47:39 -04:00
Brad Parker
0ecac5c8ff
http: fix memory leak and potential null pointer argument to strlen
2019-07-04 16:27:51 -04:00
Brad Parker
7db030f98e
cdrom: add command to retrieve/print sense data
2019-07-04 16:15:21 -04:00
twinaphex
35c2810d6e
(Xbox) Skip warnings
2019-07-04 20:18:33 +02: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
twinaphex
44eee1cf42
(VFS UWP) Real fix
2019-07-04 04:43:34 +02:00
twinaphex
b14dfc2585
Revert "(UWP) Fix VFS"
...
This reverts commit 163ec0f979c6a1a4d354efaf7618eda8cf440109.
2019-07-04 04:40:13 +02:00
twinaphex
163ec0f979
(UWP) Fix VFS
2019-07-04 04:21:51 +02: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
9d5e91a6e5
cdrom: set default track to 1
2019-06-30 18:34:00 -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
e901f3d523
cdrom: only use cdrom function if it was compiled in
2019-06-30 18:34:00 -04:00
Brad Parker
8d2392e36c
cdrom: use correct seek function
2019-06-30 18:34:00 -04:00
Brad Parker
11f8361d15
unused variable
2019-06-30 18:34:00 -04:00
Brad Parker
02575ddf67
cdrom: fix printf warnings
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