pcecd: initial support.

This commit is contained in:
sorgelig
2020-04-19 14:58:44 +08:00
parent a4f6f0dcc9
commit d2e3d0fbd2
15 changed files with 1183 additions and 28 deletions

View File

@@ -642,7 +642,7 @@ void cdd_t::CommandExec() {
/* DATA track */
FileSeek(&this->toc.tracks[0].f, lba_ * this->sectorSize, SEEK_SET);
}
else if (cdd.toc.tracks[index].f.opened())
else if (this->toc.tracks[index].f.opened())
{
/* PCM AUDIO track */
FileSeek(&this->toc.tracks[index].f, (lba_ * 2352) - this->toc.tracks[index].offset, SEEK_SET);