mirror of https://github.com/PCSX2/pcsx2.git
Fix compilation errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2167 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b562e8aa0f
commit
f2b32b57aa
|
@ -7,5 +7,5 @@ struct ISoFileDescriptor;
|
||||||
#include "SectorSource.h"
|
#include "SectorSource.h"
|
||||||
#include "IsoFileDescriptor.h"
|
#include "IsoFileDescriptor.h"
|
||||||
#include "IsoDirectory.h"
|
#include "IsoDirectory.h"
|
||||||
#include "ISoFile.h"
|
#include "IsoFile.h"
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,6 @@ int IsoFSCDVD::getNumSectors()
|
||||||
return td.lsn;
|
return td.lsn;
|
||||||
}
|
}
|
||||||
|
|
||||||
IsoFSCDVD::~IsoFSCDVD(void)
|
IsoFSCDVD::~IsoFSCDVD(void) throw()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -587,8 +587,10 @@ void loadElfFile(const wxString& filename)
|
||||||
{
|
{
|
||||||
if( memcmp( "rom0:OSDSYS", (char*)PSM( i ), 11 ) == 0 )
|
if( memcmp( "rom0:OSDSYS", (char*)PSM( i ), 11 ) == 0 )
|
||||||
{
|
{
|
||||||
|
char* temp;
|
||||||
strcpy( (char*)PSM( i ), fnptr );
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue