Просмотр исходного кода

Merge pull request #576 from lioncash/usad

dyncom: Actually set the destination register for USAD8/USADA8.
bunnei 11 лет назад
Родитель
Сommit
004b8ef2aa
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/core/arm/dyncom/arm_dyncom_interpreter.cpp

+ 1 - 0
src/core/arm/dyncom/arm_dyncom_interpreter.cpp

@@ -3211,6 +3211,7 @@ static ARM_INST_PTR INTERPRETER_TRANSLATE(usada8)(unsigned int inst, int index)
 
     inst_cream->op1 = BITS(inst, 20, 24);
     inst_cream->op2 = BITS(inst, 5, 7);
+    inst_cream->Rd  = BITS(inst, 16, 19);
     inst_cream->Rm  = BITS(inst, 8, 11);
     inst_cream->Rn  = BITS(inst, 0, 3);
     inst_cream->Ra  = BITS(inst, 12, 15);