From 7e73c66bd270d01eaa827a6f2e6ff5779c1f896d Mon Sep 17 00:00:00 2001 From: mahlemiut Date: Thu, 6 Jun 2013 07:28:17 +0000 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mess/drivers/fmtowns.c b/src/mess/drivers/fmtowns.c index c4571b4f109..9820545638c 100644 --- a/src/mess/drivers/fmtowns.c +++ b/src/mess/drivers/fmtowns.c @@ -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());