mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2026-05-01 14:32:12 +00:00
Fix mthi/mtlo implementation
This commit is contained in:
parent
d30d85bdfb
commit
388c16c13f
1 changed files with 2 additions and 2 deletions
|
|
@ -497,10 +497,10 @@ bool process_instruction(const RecompPort::Context& context, const RecompPort::C
|
||||||
print_line("{}{} = hi", ctx_gpr_prefix(rd), rd);
|
print_line("{}{} = hi", ctx_gpr_prefix(rd), rd);
|
||||||
break;
|
break;
|
||||||
case InstrId::cpu_mtlo:
|
case InstrId::cpu_mtlo:
|
||||||
print_line("lo = {}{}", ctx_gpr_prefix(rd), rd);
|
print_line("lo = {}{}", ctx_gpr_prefix(rs), rs);
|
||||||
break;
|
break;
|
||||||
case InstrId::cpu_mthi:
|
case InstrId::cpu_mthi:
|
||||||
print_line("hi = {}{}", ctx_gpr_prefix(rd), rd);
|
print_line("hi = {}{}", ctx_gpr_prefix(rs), rs);
|
||||||
break;
|
break;
|
||||||
// Loads
|
// Loads
|
||||||
case InstrId::cpu_ld:
|
case InstrId::cpu_ld:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue