mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Some tidy up of sprintf to StringFromFormat
Includes a small fix to SetupWiiMemory
This commit is contained in:
parent
8d25e12085
commit
32bfcc034f
14 changed files with 68 additions and 110 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue