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:
arcum42 committed 2009-11-08 22:06:33 +00:00
1 parent f2b32b57aa
commit de00eb95e7
2 files changed
+2 -4

No files matched your search

+1 -4
View File
@@ -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();
+1
View File
@@ -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" />