summaryrefslogtreecommitdiff
path: root/hw/xfree86/x86emu
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-02-18 17:52:48 +0000
committerAdam Jackson <ajax@nwnk.net>2005-02-18 17:52:48 +0000
commit2f07222106358a02f56bf1e344d1fbf7ead14cbd (patch)
tree12f60e34278ab064a91cccb05f736d0e8535c2eb /hw/xfree86/x86emu
parent01b156240ce66703b38a67ee3cfbb475352cdf68 (diff)
Bug #2455: Make x86emu handle JNL correctly. (David Wong)
Diffstat (limited to 'hw/xfree86/x86emu')
-rw-r--r--hw/xfree86/x86emu/ops2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/x86emu/ops2.c b/hw/xfree86/x86emu/ops2.c
index d9e5de9c5..d99bb412f 100644
--- a/hw/xfree86/x86emu/ops2.c
+++ b/hw/xfree86/x86emu/ops2.c
@@ -130,7 +130,7 @@ static void x86emuOp2_long_jump(u8 op2)
break;
case 0x8d:
name = "JNL\t";
- cond = xorl(ACCESS_FLAG(F_SF), ACCESS_FLAG(F_OF));
+ cond = !(xorl(ACCESS_FLAG(F_SF), ACCESS_FLAG(F_OF)));
break;
case 0x8e:
name = "JLE\t";