Some tidy up of sprintf to StringFromFormat

Includes a small fix to SetupWiiMemory
This commit is contained in:
Matthew Parlane
2014-02-08 14:23:34 +13:00
parent 8d25e12085
commit 32bfcc034f
14 changed files with 68 additions and 110 deletions

View File

@ -161,7 +161,7 @@ bool CBoot::EmulatedBS2_GC()
bool CBoot::SetupWiiMemory(IVolume::ECountry country)
{
static const CountrySetting SETTING_EUROPE = {"EUR", "PAL", "EU", "LE"};
static const std::map<IVolume::ECountry, const CountrySetting&> country_settings = {
static const std::map<IVolume::ECountry, const CountrySetting> country_settings = {
{IVolume::COUNTRY_EUROPE, SETTING_EUROPE},
{IVolume::COUNTRY_USA, {"USA", "NTSC", "US", "LU"}},
{IVolume::COUNTRY_JAPAN, {"JPN", "NTSC", "JP", "LJ"}},