fmtowns: quick fix to correct CD audio tracks, at least for those games that behave and read the TOC. (no whatsnew)

This commit is contained in:
mahlemiut 2013-06-06 07:28:17 +00:00
parent dfe50026ee
commit 7e73c66bd2

View File

@ -1562,7 +1562,7 @@ void towns_state::towns_cdrom_play_cdda(cdrom_image_device* device)
lba2 = m_towns_cd.parameter[4] << 16;
lba2 += m_towns_cd.parameter[3] << 8;
lba2 += m_towns_cd.parameter[2];
m_towns_cd.cdda_current = msf_to_lbafm(lba1);
m_towns_cd.cdda_current = msf_to_lbafm(lba1) + 150; // don't include gaps
m_towns_cd.cdda_length = msf_to_lbafm(lba2) - m_towns_cd.cdda_current;
m_cdda->set_cdrom(device->get_cdrom_file());