From a159d82f8b2c66d99c9974583d6f71b341f70267 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Fri, 28 Aug 2009 16:12:05 +0000 Subject: [PATCH] A quick fix to prevent creating dumps with the built in iso code from crashing. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1698 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/CDVD/CDVD.h | 2 +- pcsx2/CDVD/CDVDaccess.cpp | 2 +- pcsx2/CDVD/CDVDisoReader.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/CDVD/CDVD.h b/pcsx2/CDVD/CDVD.h index 7af6a707a5..9771adfdf0 100644 --- a/pcsx2/CDVD/CDVD.h +++ b/pcsx2/CDVD/CDVD.h @@ -21,7 +21,7 @@ #include "IopCommon.h" #include "CDVD/CDVDaccess.h" -extern char isoFileName[]; +//extern char isoFileName[]; #define btoi(b) ((b)/16*10 + (b)%16) /* BCD to u_char */ #define itob(i) ((i)/10*16 + (i)%10) /* u_char to BCD */ diff --git a/pcsx2/CDVD/CDVDaccess.cpp b/pcsx2/CDVD/CDVDaccess.cpp index 8bd9c0e57f..528fc2aad6 100644 --- a/pcsx2/CDVD/CDVDaccess.cpp +++ b/pcsx2/CDVD/CDVDaccess.cpp @@ -532,5 +532,5 @@ CDVD_API CDVDapi_NoDisc = NODISCgetBuffer2, NODISCgetDualInfo, - NULL + NODISCgetUniqueFilename }; diff --git a/pcsx2/CDVD/CDVDisoReader.cpp b/pcsx2/CDVD/CDVDisoReader.cpp index 5f2a0ba37c..273d7691e2 100644 --- a/pcsx2/CDVD/CDVDisoReader.cpp +++ b/pcsx2/CDVD/CDVDisoReader.cpp @@ -415,5 +415,5 @@ CDVD_API CDVDapi_Iso = ISOgetBuffer2, ISOgetDualInfo, - NULL + ISOgetUniqueFilename };