cdrom: resume cdda on state load
authornotaz <notasas@gmail.com>
Sun, 8 Jan 2012 22:52:28 +0000 (00:52 +0200)
committernotaz <notasas@gmail.com>
Sun, 8 Jan 2012 23:25:38 +0000 (01:25 +0200)
libpcsxcore/cdrom.c

index a150db6..d9a3bb3 100644 (file)
@@ -2073,9 +2073,13 @@ int cdrFreeze(gzFile f, int Mode) {
 
        gzfreeze(&tmp, sizeof(tmp));
 
-       if (Mode == 0)
+       if (Mode == 0) {
                cdr.pTransfer = cdr.Transfer + tmp;
 
+               if (cdr.Play && !Config.Cdda)
+                       CDR_play(cdr.SetSectorPlay);
+       }
+
        return 0;
 }