summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2014-02-08 14:23:34 +1300
committerMatthew Parlane <parlane@gmail.com>2014-02-10 17:25:18 +1300
commit32bfcc034f41276f0fad036dece8a8f632913dff (patch)
tree33955e265cab4ece64efbbcc475896e8e8d280b6 /Source/Core/DiscIO
parent8d25e12085b8e3785a9843a8ffb5545eeb109107 (diff)
Some tidy up of sprintf to StringFromFormat
Includes a small fix to SetupWiiMemory
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/VolumeGC.cpp4
1 files changed, 1 insertions, 3 deletions
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