From: notaz Date: Mon, 27 Dec 2010 17:35:12 +0000 (+0200) Subject: drc: fix SWL/SWR confusion in do_unalignedwritestub X-Git-Tag: r2~9 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=554394483dfc86c47b4e5308db47a85c918d59d3;p=pcsx_rearmed.git drc: fix SWL/SWR confusion in do_unalignedwritestub --- diff --git a/libpcsxcore/new_dynarec/assem_arm.c b/libpcsxcore/new_dynarec/assem_arm.c index 696509f5..515f7c44 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{