1
0
Fork 0
dosbox-staging/src
krcroft e8ac2d60f3 Ensure seeks and reads are within bounds of the track length
In the previous code, if the game attempted to seek beyond the track
length, or if a "seek & read" would add up to going beyond the
end-of-the-track, the code would pass those requests to the underlying
codecs to handle (and reject with a corresponding error code).

This PR moves those checks up into the CDROM CD-DA code, and will
short-circuit them. Illegal seeks won't be attempted, however the usual
negative return code will still be passed to the game just like before.
Likewise, reads beyond the end will be pruned so they will get as much
audio as possible, without asking the codec for extra.
2020-04-02 06:20:23 +02:00
..
cpu Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
debug Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
dos Ensure seeks and reads are within bounds of the track length 2020-04-02 06:20:23 +02:00
fpu Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
gui Improve comment about EXPOSED event 2020-03-30 21:48:02 +02:00
hardware Make block_fnum unsigned in fmopl 2020-03-28 05:41:04 +01:00
ints Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
libs Add clang-format rules 2020-04-01 07:38:05 +02:00
misc Allow config properties to be deprecated 2020-03-27 00:54:11 +01:00
platform Rewrite video capturing and fix some endian issues with all captures as well. Thanks jmarsh 2020-02-06 10:36:10 +00:00
shell Inject newlines before displaying DOS prompt 2020-03-12 20:54:33 +01:00
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
dosbox.cpp Implement phone book to remap phone numbers to addresses for modem 2020-03-23 01:05:03 +01:00
dosbox.ico Updated Icon. Thanks Chaosfish 2007-01-10 15:07:12 +00:00
dosbox_splash.svg Add DOSBox splash screen graphic in vector format 2019-11-02 19:29:03 +01:00
dosbox_staging_splash.svg Use dosbox-staging splash screen 2020-01-16 06:42:19 +01:00
dosbox_staging_splash_640_480.png Update splash screen to use 4:3 aspect ratio 2020-03-27 00:54:11 +01:00
Makefile.am Add output type texturepp for pixel-perfect scaling 2020-03-09 20:12:36 +01:00
winres.rc Update copyright dates to 2020 2020-03-07 00:18:01 +01:00