Warning fixes

This commit is contained in:
Nekotekina 2022-09-13 16:08:55 +03:00 committed by Ivan
parent e7fd84e031
commit b49a1f27eb
63 changed files with 165 additions and 208 deletions

View file

@ -62,7 +62,7 @@ std::string CgBinaryDisasm::GetMask() const
std::string CgBinaryDisasm::AddRegDisAsm(u32 index, int fp16) const
{
return std::string(fp16 ? "H" : "R") + std::to_string(index);
return (fp16 ? 'H' : 'R') + std::to_string(index);
}
std::string CgBinaryDisasm::AddConstDisAsm()