diff options
author | Pixel <> | 2001-05-13 15:02:47 +0000 |
---|---|---|
committer | Pixel <> | 2001-05-13 15:02:47 +0000 |
commit | 744d00d31364f7651f02c59e5fc0e1bce3fbef42 (patch) | |
tree | b802ef905b3c1eb69698cc2add27e9dd49be6f2b /lib | |
parent | 46c84734a4c878d86a7015f4bbcf9e5cab8bcb22 (diff) |
Zopla
Diffstat (limited to 'lib')
-rw-r--r-- | lib/simulator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/simulator.c b/lib/simulator.c index 8db38ef..1438143 100644 --- a/lib/simulator.c +++ b/lib/simulator.c @@ -272,17 +272,17 @@ void DecodeExec(Uint32 instruction) if (Champ1(instruction) == Champ2(instruction)) { test1 = 1; } else { - test1 = LireRegistre(Champ1(instruction)) == LireRegistre(Champ2(instruction)); + test1 = ((int) LireRegistre(Champ1(instruction))) == ((int) LireRegistre(Champ2(instruction))); } break; case 1: - test1 = LireRegistre(Champ1(instruction)) != LireRegistre(Champ2(instruction)); + test1 = ((int) LireRegistre(Champ1(instruction))) != ((int) LireRegistre(Champ2(instruction))); break; case 2: - test1 = LireRegistre(Champ1(instruction)) < LireRegistre(Champ2(instruction)); + test1 = ((int) LireRegistre(Champ1(instruction))) < ((int) LireRegistre(Champ2(instruction))); break; case 3: - test1 = LireRegistre(Champ1(instruction)) <= LireRegistre(Champ2(instruction)); + test1 = ((int) LireRegistre(Champ1(instruction))) <= ((int) LireRegistre(Champ2(instruction))); break; } switch (champ(Extension(instruction) >> 2, 4)) { |