aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2010-12-27 19:35:12 +0200
committernotaz2010-12-27 19:35:12 +0200
commit554394483dfc86c47b4e5308db47a85c918d59d3 (patch)
tree247205c41b055583c782514a20e6c865d8a8ba7c
parent2185e39b1c84bf855deafa5605f4316238d2c354 (diff)
downloadpcsx_rearmed-554394483dfc86c47b4e5308db47a85c918d59d3.tar.gz
pcsx_rearmed-554394483dfc86c47b4e5308db47a85c918d59d3.tar.bz2
pcsx_rearmed-554394483dfc86c47b4e5308db47a85c918d59d3.zip
drc: fix SWL/SWR confusion in do_unalignedwritestub
-rw-r--r--libpcsxcore/new_dynarec/assem_arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/new_dynarec/assem_arm.c b/libpcsxcore/new_dynarec/assem_arm.c
index 696509f..515f7c4 100644
--- a/libpcsxcore/new_dynarec/assem_arm.c
+++ b/libpcsxcore/new_dynarec/assem_arm.c
@@ -2912,7 +2912,7 @@ do_unalignedwritestub(int n)
#endif
emit_xorimm(temp,24,temp);
emit_movimm(-1,HOST_TEMPREG);
- if (opcode[i]==0x2e) { // SWR
+ if (opcode[i]==0x2a) { // SWL
emit_bic_lsr(temp2,HOST_TEMPREG,temp,temp2);
emit_orrshr(rt,temp,temp2);
}else{