From b57a1af1c920bf374a75e040a8c938e237e84512 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Mon, 16 Apr 2001 16:19:40 +0000 Subject: Bug simul --- lib/simulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 */ } -- cgit v1.2.3