ir:/movie: Replace for-loops with fmt::join
This commit is contained in:
@ -358,9 +358,7 @@ Movie::ValidationResult Movie::ValidateHeader(const CTMHeader& header, u64 progr
|
||||
return ValidationResult::Invalid;
|
||||
}
|
||||
|
||||
std::string revision;
|
||||
for (auto header_part : header.revision)
|
||||
revision += fmt::format("{:02x}", header_part);
|
||||
std::string revision = fmt::format("{:02x}", fmt::join(header.revision, ""));
|
||||
|
||||
if (!program_id)
|
||||
Core::System::GetInstance().GetAppLoader().ReadProgramId(program_id);
|
||||
|
Reference in New Issue
Block a user