mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
rsx: make some functions const
This commit is contained in:
parent
1c7850de17
commit
461862be46
8 changed files with 19 additions and 20 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue