Fix compilation errors.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2167 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 committed 2009-11-08 21:43:04 +00:00
1 parent b562e8aa0f
commit f2b32b57aa
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -7,5 +7,5 @@ struct ISoFileDescriptor;
#include "SectorSource.h"
#include "IsoFileDescriptor.h"
#include "IsoDirectory.h"
#include "ISoFile.h"
#include "IsoFile.h"
+1 -1
View File
@@ -19,6 +19,6 @@ int IsoFSCDVD::getNumSectors()
return td.lsn;
}
IsoFSCDVD::~IsoFSCDVD(void)
IsoFSCDVD::~IsoFSCDVD(void) throw()
{
}
+3 -1
View File
@@ -587,8 +587,10 @@ void loadElfFile(const wxString& filename)
{
if( memcmp( "rom0:OSDSYS", (char*)PSM( i ), 11 ) == 0 )
{
char* temp;
strcpy( (char*)PSM( i ), fnptr );
DevCon.WriteLn( "loadElfFile: addr %x \"%s\" -> \"%s\"", i, "rom0:OSDSYS", fnptr );
strcpy(temp, fnptr); // Passing wxCharBuffers to WriteLn crashes pcsx2.
DevCon.WriteLn( "loadElfFile: addr %x \"%s\" -> \"%s\"", i, "rom0:OSDSYS", temp );
}
}