mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
Fix compilation errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2167 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
b562e8aa0f
commit
f2b32b57aa
3 files changed
+5
-3
No files matched your search
@@ -7,5 +7,5 @@ struct ISoFileDescriptor;
|
||||
#include "SectorSource.h"
|
||||
#include "IsoFileDescriptor.h"
|
||||
#include "IsoDirectory.h"
|
||||
#include "ISoFile.h"
|
||||
#include "IsoFile.h"
|
||||
|
||||
@@ -19,6 +19,6 @@ int IsoFSCDVD::getNumSectors()
|
||||
return td.lsn;
|
||||
}
|
||||
|
||||
IsoFSCDVD::~IsoFSCDVD(void)
|
||||
IsoFSCDVD::~IsoFSCDVD(void) throw()
|
||||
{
|
||||
}
|
||||
+3
-1
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user