ir:/movie: Replace for-loops with fmt::join
This commit is contained in:
parent
210e558bea
commit
5121fadb4f
3 changed files with 7 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue