mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
DiscIO: Migrate logging over to fmt
Eliminates quite a bit of the PRI* macros used for handling 64-bit values.
This commit is contained in:
@ -324,7 +324,7 @@ Country CountryCodeToCountry(u8 country_code, Platform platform, Region region,
|
||||
|
||||
default:
|
||||
if (country_code > 'A') // Silently ignore IOS wads
|
||||
WARN_LOG(DISCIO, "Unknown Country Code! %c", country_code);
|
||||
WARN_LOG_FMT(DISCIO, "Unknown Country Code! {}", static_cast<char>(country_code));
|
||||
return Country::Unknown;
|
||||
}
|
||||
}
|
||||
@ -366,7 +366,7 @@ std::string GetSysMenuVersionString(u16 title_version)
|
||||
region_letter = 'K';
|
||||
break;
|
||||
case Region::Unknown:
|
||||
WARN_LOG(DISCIO, "Unknown region for Wii Menu version %u", title_version);
|
||||
WARN_LOG_FMT(DISCIO, "Unknown region for Wii Menu version {}", title_version);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user