From 00a66c380a40938e6a027750a5d3ea1898de14bb Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Thu, 3 Aug 2006 21:03:21 +0000 Subject: [PATCH] - fixed boot failures on big endian machines (thanks to the SF compile farm) --- bochs/cpu/lazy_flags.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/cpu/lazy_flags.cc b/bochs/cpu/lazy_flags.cc index 9c83f9ab5..4f04a21b7 100644 --- a/bochs/cpu/lazy_flags.cc +++ b/bochs/cpu/lazy_flags.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: lazy_flags.cc,v 1.32 2006-05-12 17:04:19 sshwarts Exp $ +// $Id: lazy_flags.cc,v 1.33 2006-08-03 21:03:21 vruppert Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -742,7 +742,7 @@ bx_bool BX_CPU_C::get_OFLazy(void) break; case BX_INSTR_SUB16: case BX_INSTR_SBB16: - of = GET_ADD_OVERFLOW(BX_CPU_THIS_PTR oszapc.op1_16, BX_CPU_THIS_PTR oszapc.op2_16, + of = GET_SUB_OVERFLOW(BX_CPU_THIS_PTR oszapc.op1_16, BX_CPU_THIS_PTR oszapc.op2_16, BX_CPU_THIS_PTR oszapc.result_16, 0x8000); break; case BX_INSTR_SUB32: