summaryrefslogtreecommitdiff
path: root/libpcsxcore/cdrom.c
diff options
context:
space:
mode:
authorSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-04-16 18:04:29 +0000
committerSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-04-16 18:04:29 +0000
commitb3f5eecbcd660065b8d1c92029e5e6fa0a74ecdb (patch)
tree57c3edede233016ba0464665e1af127794fa1e29 /libpcsxcore/cdrom.c
parente09dfb4e415fa52df9aaeed4b8c1d3ea06d880ce (diff)
downloadpcsxr-b3f5eecbcd660065b8d1c92029e5e6fa0a74ecdb.tar.gz
Big endian CDDA support. Uses Config.Cdda (previously bool). Now enum. Gtk gui was modified for new enum, but compatibility was kept so that other guis don't go nuts.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90008 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cdrom.c')
-rwxr-xr-xlibpcsxcore/cdrom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index 69d665a6..2aa6f9ad 100755
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -703,7 +703,7 @@ void cdrInterrupt() {
ReadTrack(cdr.SetSectorPlay);
cdr.TrackChanged = FALSE;
- if (!Config.Cdda)
+ if (Config.Cdda != CDDA_DISABLED)
CDR_play(cdr.SetSectorPlay);
// Vib Ribbon: gameplay checks flag
@@ -1582,7 +1582,7 @@ void cdrReset() {
int cdrFreeze(gzFile f, int Mode) {
u8 tmpp[3];
- if (Mode == 0 && !Config.Cdda)
+ if (Mode == 0 && Config.Cdda != CDDA_DISABLED)
CDR_stop();
gzfreeze(&cdr, sizeof(cdr));
@@ -1600,7 +1600,7 @@ int cdrFreeze(gzFile f, int Mode) {
if (cdr.Play) {
Find_CurTrack(cdr.SetSectorPlay);
- if (!Config.Cdda)
+ if (Config.Cdda != CDDA_DISABLED)
CDR_play(cdr.SetSectorPlay);
}
}