pcecd: fix command SAPEP (stop cdda when mode=0) (#221)

This commit is contained in:
Sergey Dvodnenko
2020-05-17 21:32:51 +03:00
committed by GitHub
parent 573305f008
commit 2657621a84

View File

@@ -671,7 +671,10 @@ void pcecdd_t::CommandExec() {
this->CDDAMode = comm[1];
this->CDDAEnd = new_lba;
if (this->CDDAMode != PCECD_CDDAMODE_SILENT) {
if (this->CDDAMode == PCECD_CDDAMODE_SILENT) {
this->state = PCECD_STATE_IDLE;
}
else {
this->state = PCECD_STATE_PLAY;
}