Merge pull request #11829 from lioncash/strutil

Common/StringUtil: Move some utilities into the Common namespace
This commit is contained in:
JosJuice
2023-05-17 09:13:36 +02:00
committed by GitHub
17 changed files with 53 additions and 48 deletions

View File

@ -256,7 +256,7 @@ std::string VolumeWAD::GetMakerID(const Partition& partition) const
return "00";
// Some weird channels use 0x0000 in place of the MakerID, so we need a check here
if (!IsPrintableCharacter(temp[0]) || !IsPrintableCharacter(temp[1]))
if (!Common::IsPrintableCharacter(temp[0]) || !Common::IsPrintableCharacter(temp[1]))
return "00";
return DecodeString(temp);