StringUtil: Move IsPrintableCharacter() into Common namespace

This commit is contained in:
Lioncash
2023-05-16 14:17:54 -04:00
parent a9f1edeb61
commit 21df3ca572
9 changed files with 21 additions and 18 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);