rsx: make some functions const

This commit is contained in:
Megamouse 2024-06-10 23:05:14 +02:00
parent 1c7850de17
commit 461862be46
8 changed files with 19 additions and 20 deletions

View file

@ -15,7 +15,6 @@ void CgBinaryDisasm::AddCodeAsm(const std::string& code)
m_dst_reg_name = fmt::format("RC%s, ", GetMask());
op_name = rsx_fp_op_names[m_opcode] + "XC";
}
else
{
m_dst_reg_name = fmt::format("%s%d%s, ", dst.fp16 ? "H" : "R", dst.dest_reg, GetMask());
@ -189,8 +188,8 @@ template<typename T> std::string CgBinaryDisasm::GetSrcDisAsm(T src)
}
break;
}
break;
}
break;
case 2: //const
ret += AddConstDisAsm();