13 Commits

Author SHA1 Message Date
Brian Koropoff
5d227ea4b8 Avoid reading entire sector to get subchannel data
Since the subchannel data is either computed from scratch or
read from a separate sbi file, it's entirely unnecessary.

This avoids a synchronous file read in PreSeekHack in the CD
controller code which otherwise completely defeats async read
behavior.  It also makes the sector read hint provided to the
background thread more useful.
2017-10-15 00:31:41 -07:00
twinaphex
c508e48741 Update cdrom code 2016-08-14 13:15:13 +02:00
twinaphex
d57df932ae Fixed error handling now 2016-07-20 05:52:35 +02:00
twinaphex
1b9ca42ec9 Get rid of more exceptions 2016-07-20 05:44:09 +02:00
twinaphex
b1ff6311bd Start getting rid of exception throwing and try/catch 2016-07-20 05:12:57 +02:00
Zapeth
cccbbeb031 Fix PBP loading for games with 5 discs (apparently the area after the offsets isn't null) 2016-05-11 19:18:16 +02:00
Zapeth
66b98b0245 Use per-disc SBI checking for multi-disc PBP files, format: [filename]_[disc_number].sbi 2016-05-10 20:48:58 +02:00
Zapeth
045b07b331 Add PBP multi-disc support (dont use m3u) 2016-05-10 20:48:22 +02:00
Zapeth
5d06908960 Add support for official pbp files (decryption and decompression done by Hykem) and reorganize some image loading code 2016-05-08 23:18:47 +02:00
Zapeth
322f2d8fbd Add SBI loading, change track sector calculation 2016-05-02 20:10:59 +02:00
Zapeth
0cb376273d Calculation for pregap_dv seems to be correct, also fix discs_offset size 2016-05-02 20:10:50 +02:00
Zapeth
185dbfd998 Copied MakeSubPQ function from CDAccess_Image, integrated it into CDAccess_PBP (images seem to load now) 2016-05-02 20:10:43 +02:00
Zapeth
3a5a716d77 Add rudimentary pbp support (not working atm) 2016-05-02 20:10:17 +02:00