From 32bfcc034f41276f0fad036dece8a8f632913dff Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sat, 8 Feb 2014 14:23:34 +1300 Subject: Some tidy up of sprintf to StringFromFormat Includes a small fix to SetupWiiMemory --- Source/Core/DiscIO/VolumeGC.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/DiscIO/VolumeGC.cpp') diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp index 325e200a34..f2d97462e9 100644 --- a/Source/Core/DiscIO/VolumeGC.cpp +++ b/Source/Core/DiscIO/VolumeGC.cpp @@ -54,9 +54,7 @@ std::string CVolumeGC::GetUniqueID() const std::string CVolumeGC::GetRevisionSpecificUniqueID() const { - char rev[16]; - sprintf(rev, "r%d", GetRevision()); - return GetUniqueID() + rev; + return GetUniqueID() + StringFromFormat("r%d", GetRevision()); } IVolume::ECountry CVolumeGC::GetCountry() const -- cgit v1.2.3