cdrom: should use the last Setloc loc and SeekL
authornotaz <notasas@gmail.com>
Wed, 31 Aug 2022 23:09:49 +0000 (02:09 +0300)
committernotaz <notasas@gmail.com>
Fri, 2 Sep 2022 23:13:01 +0000 (02:13 +0300)
notaz/pcsx_rearmed#253

libpcsxcore/cdrom.c

index 20edc6d..19b7d94 100644 (file)
@@ -985,6 +985,7 @@ void cdrInterrupt() {
                        */
                        CDRMISC_INT(cdr.Seeked == SEEK_DONE ? 0x800 : cdReadTime * 4);
                        cdr.Seeked = SEEK_PENDING;
+                       memcpy(cdr.SetSectorPlay, cdr.SetSector, 4);
                        start_rotating = 1;
                        break;