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

trunk/src/mess/drivers/fmtowns.c
r23482r23483
15621562   lba2 = m_towns_cd.parameter[4] << 16;
15631563   lba2 += m_towns_cd.parameter[3] << 8;
15641564   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
15661566   m_towns_cd.cdda_length = msf_to_lbafm(lba2) - m_towns_cd.cdda_current;
15671567
15681568   m_cdda->set_cdrom(device->get_cdrom_file());

Previous 199869 Revisions Next


© 1997-2024 The MAME Team