Don't halt on any GP_FAULT by default
This commit is contained in:
parent
7d2ca8cb1e
commit
c18fd50ffc
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue