Replaced some printf(string)s with printf("%s", string) in R5900 block dumping.

This commit is contained in:
Pseudonym 2014-08-15 17:37:07 +01:00
parent 0ca72a7d60
commit 4de63714ce
1 changed files with 2 additions and 3 deletions

View File

@ -213,15 +213,14 @@ void iDumpBlock( int startpc, u8 * ptr )
if (!symbolMap.GetLabelString(startpc).empty())
{
eff.Printf( symbolMap.GetLabelString(startpc).c_str() );
eff.Printf( "\n" );
eff.Printf( "%s\n", symbolMap.GetLabelString(startpc).c_str() );
}
for ( uint i = startpc; i < s_nEndBlock; i += 4 )
{
std::string output;
disR5900Fasm( output, memRead32( i ), i );
eff.Printf( output.c_str() );
eff.Printf( "%s\n", output.c_str() );
}
// write the instruction info