Settings: Hook up console region

This commit is contained in:
Connor McLaughlin
2019-11-16 20:27:30 +10:00
parent 613e4f4a2a
commit f1289d6161
3 changed files with 19 additions and 3 deletions

View File

@ -115,7 +115,7 @@ bool System::Boot(const char* filename)
std::optional<ConsoleRegion> detected_region = GetRegionForCDImage(media.get());
m_region = detected_region.value_or(ConsoleRegion::NTSC_U);
if (detected_region)
Log_InfoPrintf("Auto-detected %s region for '%s'", Settings::GetConsoleRegionName(m_region));
Log_InfoPrintf("Auto-detected %s region for '%s'", Settings::GetConsoleRegionName(m_region), filename);
else
Log_WarningPrintf("Could not determine region for CD. Defaulting to NTSC-U.");
}