Saturn: fix the Seek command (Die Hard Arcade)

This commit is contained in:
Sergiy Dvodnenko
2024-09-12 11:26:45 +03:00
parent b2c96be7f8
commit 5e23bfe6f3

View File

@@ -604,6 +604,7 @@ void satcdd_t::CommandExec() {
case SATURN_COMM_SEEK:
this->seek_lba = fad - 150;
this->lba = fad - 150;
this->track = this->toc.GetTrackByLBA(this->seek_lba);
this->index = this->toc.GetIndexByLBA(this->track, this->seek_lba);