summaryrefslogtreecommitdiff
path: root/lib/simulator.c
diff options
context:
space:
mode:
authorPixel <>2001-04-16 16:19:40 +0000
committerPixel <>2001-04-16 16:19:40 +0000
commitb57a1af1c920bf374a75e040a8c938e237e84512 (patch)
tree6daaa4d86223c0f9bd1a733dd56497229438f3fb /lib/simulator.c
parentbb38c3ba0877cbbac1d8f0041280e7a923588e89 (diff)
Bug simul
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 */
}