From: notaz Date: Sun, 8 Jan 2012 22:52:28 +0000 (+0200) Subject: cdrom: resume cdda on state load X-Git-Tag: r13~1 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42f3c5125fcb99e1445dfb7ca3d1b21330cde414;p=pcsx_rearmed.git cdrom: resume cdda on state load --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index a150db69..d9a3bb37 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -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; }