Fix PC Engine CD player controls ( #585 ) (#586)

Correct LBA-MSF conversion for absolute offset in the SUBQ request function (relative remains without offset)
This commit is contained in:
David Shadoff
2022-04-25 03:25:10 -04:00
committed by GitHub
parent 28a751cc89
commit 12b9e8d75f

View File

@@ -756,7 +756,7 @@ void pcecdd_t::CommandExec() {
buf[7] = BCD(msf.s);
buf[8] = BCD(msf.f);
LBAToMSF(this->lba, &msf);
LBAToMSF(this->lba+150, &msf);
buf[9] = BCD(msf.m);
buf[10] = BCD(msf.s);
buf[11] = BCD(msf.f);