mirror of https://github.com/PCSX2/pcsx2.git
Fix a few non-POD type warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4154 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
e758b6e10a
commit
7e9cf5a340
|
@ -97,7 +97,7 @@ void MemorySavestateEntry::FreezeIn( pxInputStream& reader ) const
|
|||
if (entrySize < expectedSize)
|
||||
{
|
||||
Console.WriteLn( Color_Yellow, " '%s' is incomplete (expected 0x%x bytes, loading only 0x%x bytes)",
|
||||
GetFilename(), expectedSize, entrySize );
|
||||
GetFilename().c_str(), expectedSize, entrySize );
|
||||
}
|
||||
|
||||
uint copylen = std::min(entrySize, expectedSize);
|
||||
|
@ -581,7 +581,7 @@ protected:
|
|||
if (SavestateEntries[i]->IsRequired())
|
||||
{
|
||||
throwIt = true;
|
||||
Console.WriteLn( Color_Red, " ... not found '%s'!", SavestateEntries[i]->GetFilename() );
|
||||
Console.WriteLn( Color_Red, " ... not found '%s'!", SavestateEntries[i]->GetFilename().c_str() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -216,7 +216,7 @@ static void LoadExtraRom( const wxChar* ext, u8 (&dest)[_size] )
|
|||
// still work fine.
|
||||
|
||||
Console.Warning(L"BIOS Warning: %s could not be read (permission denied?)", ext);
|
||||
Console.Indent().WriteLn(L"Details: %s", ex.FormatDiagnosticMessage());
|
||||
Console.Indent().WriteLn(L"Details: %s", ex.FormatDiagnosticMessage().c_str());
|
||||
Console.Indent().WriteLn(L"File size: %llu", filesize);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue