Don't halt on any GP_FAULT by default

This commit is contained in:
Jeff Parsons 2015-08-24 19:00:04 -07:00
commit c18fd50ffc

View file

@ -3869,11 +3869,12 @@ X86.fnFaultMessage = function(nFault, nError, fHalt)
nFault == X86.EXCEPTION.GP_FAULT && bOpcode == X86.OPCODE.INTN) {
fHalt = false;
}
} else {
if (nFault == X86.EXCEPTION.PG_FAULT || nFault == X86.EXCEPTION.GP_FAULT && this.model == X86.MODEL_80386 /* || nFault == X86.EXCEPTION.NP_FAULT && bOpcode == 0x8E */) {
fHalt = true;
}
}
// else {
// if (nFault == X86.EXCEPTION.PG_FAULT || nFault == X86.EXCEPTION.GP_FAULT && this.model == X86.MODEL_80386 /* || nFault == X86.EXCEPTION.NP_FAULT && bOpcode == 0x8E */) {
// fHalt = true;
// }
// }
/*
* If fHalt has been explicitly set to false, we also take that as a cue to disable fault messages