From 3618983aaac1230351fabc25404eb729f33f3f46 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 4 Oct 2015 14:39:57 +0100 Subject: [PATCH] CDVD: Comment out unreachable code. -Left in so future checks can see what's going on. -Coverity CID 146818: In ISOreadSector(unsigned char *, unsigned int, int): Code can never be reached because of a logical contradiction (CWE-561) --- pcsx2/CDVD/CDVDisoReader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/CDVD/CDVDisoReader.cpp b/pcsx2/CDVD/CDVDisoReader.cpp index 145e93d85a..3321c3fd61 100644 --- a/pcsx2/CDVD/CDVDisoReader.cpp +++ b/pcsx2/CDVD/CDVDisoReader.cpp @@ -401,10 +401,10 @@ s32 CALLBACK ISOreadSector(u8* tempbuffer, u32 lsn, int mode) switch (mode) { - case CDVD_MODE_2352: + //case CDVD_MODE_2352: // Unreachable due to shortcut above. - pxAssume(false); - break; + // pxAssume(false); + // break; case CDVD_MODE_2340: pbuffer += 12;