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:
arcum42 2010-12-27 10:05:59 +00:00
parent e758b6e10a
commit 7e9cf5a340
2 changed files with 3 additions and 3 deletions

View File

@ -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() );
}
}

View File

@ -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);
}
}