From 248af1b0c3ad65f3229243348f931f8a5dd88c81 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sun, 5 Apr 2009 18:22:03 +0000 Subject: [PATCH] typo fix --- bochs/cpu/segment_ctrl_pro.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bochs/cpu/segment_ctrl_pro.cc b/bochs/cpu/segment_ctrl_pro.cc index 77cf3fbda..ea81ce393 100644 --- a/bochs/cpu/segment_ctrl_pro.cc +++ b/bochs/cpu/segment_ctrl_pro.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: segment_ctrl_pro.cc,v 1.111 2009-04-05 18:16:29 sshwarts Exp $ +// $Id: segment_ctrl_pro.cc,v 1.112 2009-04-05 18:22:03 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -351,7 +351,7 @@ BX_CPU_C::get_descriptor_l(const bx_descriptor_t *d) } else { Bit32u limit = d->u.system.limit_scaled; - if (d->u.segment.g) + if (d->u.system.g) limit >>= 12; switch (d->type) { @@ -381,7 +381,7 @@ BX_CPU_C::get_descriptor_h(const bx_descriptor_t *d) if (d->segment) { Bit32u limit = d->u.segment.limit_scaled; - if (d->u.system.g) + if (d->u.segment.g) limit >>= 12; val = (d->u.segment.base & 0xff000000) | ((d->u.segment.base >> 16) & 0x000000ff) |