From 31869753a0d57f25f30e837cd956a695049afbdd Mon Sep 17 00:00:00 2001 From: arcum42 Date: Mon, 13 Jul 2009 11:09:42 +0000 Subject: [PATCH] Fixed Linux again. Still don't have time to actually implement adding the new features yet in Linux. (Likely won't till next week or later) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1503 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/CDVD/CDVDisoReader.cpp | 4 ---- pcsx2/CDVD/CDVDisoReader.h | 7 ++++++- pcsx2/CDVD/Makefile.am | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pcsx2/CDVD/CDVDisoReader.cpp b/pcsx2/CDVD/CDVDisoReader.cpp index d8c562cb21..7399b07928 100644 --- a/pcsx2/CDVD/CDVDisoReader.cpp +++ b/pcsx2/CDVD/CDVDisoReader.cpp @@ -27,10 +27,6 @@ #include "CDVDisoReader.h" -#ifndef MAX_PATH -#define MAX_PATH 255 -#endif - bool loadFromISO=false; char isoFileName[256]; diff --git a/pcsx2/CDVD/CDVDisoReader.h b/pcsx2/CDVD/CDVDisoReader.h index a9cc1ca580..e3776a0018 100644 --- a/pcsx2/CDVD/CDVDisoReader.h +++ b/pcsx2/CDVD/CDVDisoReader.h @@ -34,6 +34,11 @@ #include "IsoFileFormats.h" #define CDVD_LOG __Log + +#ifndef MAX_PATH +#define MAX_PATH 255 +#endif + extern FILE *cdvdLog; void __Log(char *fmt, ...); @@ -43,7 +48,7 @@ void __Log(char *fmt, ...); extern char isoFileName[256]; -extern isoFile *blockDumpFile; +//extern isoFile *blockDumpFile; extern isoFile *iso; s32 ISOinit(); diff --git a/pcsx2/CDVD/Makefile.am b/pcsx2/CDVD/Makefile.am index af49f26622..16f646a2e0 100644 --- a/pcsx2/CDVD/Makefile.am +++ b/pcsx2/CDVD/Makefile.am @@ -14,6 +14,7 @@ noinst_LIBRARIES = libps2_cdvd.a libps2_cdvd_a_SOURCES = \ CDVD.cpp IsoFStools.cpp IsoFSdrv.cpp CdRom.cpp \ CDVD.h CDVD_internal.h IsoFStools.h IsoFSdrv.h IsoFScdvd.h CdRom.h \ -CDVDisoReader.cpp CDVDisoReader.h CDVDaccess.cpp CDVDaccess.h +CDVDisoReader.cpp CDVDisoReader.h CDVDaccess.cpp CDVDaccess.h \ +IsoFileFormats.cpp IsoFileFormats.h #SUBDIRS =