cdrom: update status immediately after seek
authornotaz <notasas@gmail.com>
Thu, 29 Sep 2022 19:45:23 +0000 (22:45 +0300)
committernotaz <notasas@gmail.com>
Thu, 29 Sep 2022 19:45:23 +0000 (22:45 +0300)
Philosoma wants it

libpcsxcore/cdrom.c

index cace6d9..7715a2b 100644 (file)
@@ -1006,6 +1006,7 @@ void cdrInterrupt(void) {
                case CdlSeekL + CMD_PART2:
                case CdlSeekP + CMD_PART2:
                        SetPlaySeekRead(cdr.StatP, 0);
+                       cdr.Result[0] = cdr.StatP;
                        cdr.Stat = Complete;
 
                        Find_CurTrack(cdr.SetSectorPlay);