mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 06:16:23 -05:00
gl_shader_decompiler: Implement MOV_C.
This commit is contained in:
parent
6c464a2a4a
commit
a71346cd7c
1 changed files with 5 additions and 0 deletions
|
@ -664,6 +664,11 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (opcode->GetId()) {
|
switch (opcode->GetId()) {
|
||||||
|
case OpCode::Id::MOV_C: {
|
||||||
|
regs.SetRegisterToFloat(instr.gpr0, 0, op_b, 1, 1);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case OpCode::Id::MOV32_IMM: {
|
case OpCode::Id::MOV32_IMM: {
|
||||||
// mov32i doesn't have abs or neg bits.
|
// mov32i doesn't have abs or neg bits.
|
||||||
regs.SetRegisterToFloat(instr.gpr0, 0, GetImmediate32(instr), 1, 1);
|
regs.SetRegisterToFloat(instr.gpr0, 0, GetImmediate32(instr), 1, 1);
|
||||||
|
|
Loading…
Reference in a new issue