Previous | 199869 Revisions | Next |
r23483 Thursday 6th June, 2013 at 07:28:17 UTC by Barry Rodewald |
---|
fmtowns: quick fix to correct CD audio tracks, at least for those games that behave and read the TOC. (no whatsnew) |
[src/mess/drivers] | fmtowns.c |
r23482 | r23483 | |
---|---|---|
1562 | 1562 | lba2 = m_towns_cd.parameter[4] << 16; |
1563 | 1563 | lba2 += m_towns_cd.parameter[3] << 8; |
1564 | 1564 | lba2 += m_towns_cd.parameter[2]; |
1565 | m_towns_cd.cdda_current = msf_to_lbafm(lba1); | |
1565 | m_towns_cd.cdda_current = msf_to_lbafm(lba1) + 150; // don't include gaps | |
1566 | 1566 | m_towns_cd.cdda_length = msf_to_lbafm(lba2) - m_towns_cd.cdda_current; |
1567 | 1567 | |
1568 | 1568 | m_cdda->set_cdrom(device->get_cdrom_file()); |
Previous | 199869 Revisions | Next |