From bd31411a4c670baa17dc7e8caac9e2f9325536f8 Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Tue, 9 Nov 2010 13:36:12 +0000 Subject: [PATCH] Bugfix for CDVDiso memory corruption, which caused random problems when loading specific types of iso images (most commonly MDF types, but could have been a problem on others as well). git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4010 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/CDVD/CDVDisoReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/CDVD/CDVDisoReader.cpp b/pcsx2/CDVD/CDVDisoReader.cpp index d9a22afcba..b7c106f736 100644 --- a/pcsx2/CDVD/CDVDisoReader.cpp +++ b/pcsx2/CDVD/CDVDisoReader.cpp @@ -29,7 +29,7 @@ #include "CDVDisoReader.h" static u8 *pbuffer; -static u8 cdbuffer[2352] = {0}; +static u8 cdbuffer[CD_FRAMESIZE_RAW] = {0}; static isoFile iso; static int psize, cdtype;