fixed prev commit

This commit is contained in:
Stanislav Shwartsman 2012-03-26 19:24:20 +00:00
parent 97a6d0ad46
commit 8b78f6ca2c

View File

@ -61,7 +61,7 @@ void BX_CPP_AttrRegparmN(2) BX_CPU_C::stackPrefetch(bx_address offset, unsigned
Bit32u limit = BX_CPU_THIS_PTR sregs[BX_SEG_REG_SS].cache.u.segment.limit_scaled;
Bit32u pageStart = offset - pageOffset;
if (BX_CPU_THIS_PTR sregs[BX_SEG_REG_SS].cache.valid) {
if (! BX_CPU_THIS_PTR sregs[BX_SEG_REG_SS].cache.valid) {
BX_ERROR(("stackPrefetch: SS not valid"));
exception(BX_SS_EXCEPTION, 0);
}