summaryrefslogtreecommitdiff
path: root/lib/simulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/simulator.c')
-rw-r--r--lib/simulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/simulator.c b/lib/simulator.c
index 21e34bd..4cc5d6f 100644
--- a/lib/simulator.c
+++ b/lib/simulator.c
@@ -148,8 +148,8 @@ void DecodeExec(Uint32 instruction, Uint32 entrypoint)
}
}
if ((Opcode(instruction) & 2) && !(Opcode(instruction & 3))) {
- EcrireRegistre(32, resultat);
- EcrireRegistre(33, SecondResultat);
+ EcrireRegistreRG(resultat);
+ EcrireRegistreRD(SecondResultat);
} else {
EcrireRegistre(champ_registre_resultat, resultat); /* On écrit le résultat dans le registre de sortie */
}