aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2012-01-09 00:52:28 +0200
committernotaz2012-01-09 01:25:38 +0200
commit42f3c5125fcb99e1445dfb7ca3d1b21330cde414 (patch)
tree265ccfaa12baf64a7ca1ebd5c2ef6fa4263dc871 /libpcsxcore
parent4706bbe4576a934d51b3c852eca24870db271340 (diff)
downloadpcsx_rearmed-42f3c5125fcb99e1445dfb7ca3d1b21330cde414.tar.gz
pcsx_rearmed-42f3c5125fcb99e1445dfb7ca3d1b21330cde414.tar.bz2
pcsx_rearmed-42f3c5125fcb99e1445dfb7ca3d1b21330cde414.zip
cdrom: resume cdda on state load
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index a150db6..d9a3bb3 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;
}