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 20:16:42 +0000 (23:16 +0300)
notaz/pcsx_rearmed#253

libpcsxcore/cdrom.c

index 1431dac..5475a6b 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;