mirror of https://github.com/PCSX2/pcsx2.git
Correction to my last revision.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2168 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f2b32b57aa
commit
de00eb95e7
|
@ -587,13 +587,10 @@ void loadElfFile(const wxString& filename)
|
|||
{
|
||||
if( memcmp( "rom0:OSDSYS", (char*)PSM( i ), 11 ) == 0 )
|
||||
{
|
||||
char* temp;
|
||||
strcpy( (char*)PSM( i ), fnptr );
|
||||
strcpy(temp, fnptr); // Passing wxCharBuffers to WriteLn crashes pcsx2.
|
||||
DevCon.WriteLn( "loadElfFile: addr %x \"%s\" -> \"%s\"", i, "rom0:OSDSYS", temp );
|
||||
DevCon.WriteLn( "loadElfFile: addr %x \"%s\" -> \"%s\"", i, "rom0:OSDSYS", fnptr.data() );
|
||||
}
|
||||
}
|
||||
|
||||
ElfCRC = elfobj.GetCRC();
|
||||
Console.WriteLn( L"loadElfFile: %s; CRC = %8.8X", filename.c_str(), ElfCRC );
|
||||
ElfApplyPatches();
|
||||
|
|
|
@ -122,6 +122,7 @@
|
|||
<Unit filename="../CDVD/CDVDisoReader.h" />
|
||||
<Unit filename="../CDVD/CdRom.cpp" />
|
||||
<Unit filename="../CDVD/CdRom.h" />
|
||||
<Unit filename="../CDVD/IsoFS/IsoDirectory.h" />
|
||||
<Unit filename="../CDVD/IsoFS/IsoFS.cpp" />
|
||||
<Unit filename="../CDVD/IsoFS/IsoFS.h" />
|
||||
<Unit filename="../CDVD/IsoFS/IsoFSCDVD.cpp" />
|
||||
|
|
Loading…
Reference in New Issue