Fixed a bug in the DOSBox track position return code to no longer incorrectly offset the relative position by 150 sectors (2 frames), fixes track time counters in Sony CD Player for DOS and DOS Navigator.

This commit is contained in:
OBattler
2017-05-19 00:25:16 +02:00
parent c3c1b3eba1
commit 03587514bb
5 changed files with 22 additions and 26 deletions

View File

@@ -2920,7 +2920,7 @@ void cdrom_command(uint8_t id, uint8_t *cdb)
max_len |= cdb[8];
msf = (cdb[1] >> 1) & 1;
cdrom_log("CD-ROM %i: Getting page %i\n", id, cdb[3]);
cdrom_log("CD-ROM %i: Getting page %i (%s)\n", id, cdb[3], msf ? "MSF" : "LBA");
if ((cdrom_drives[id].handler->pass_through) && (cdb[3] != 1))
{
ret = cdrom_pass_through(id, &len, cdrom[id].current_cdb, cdbufferb);