Don't attempt to decode instructions that are at a lower address than the XBE base address
This commit is contained in:
parent
ac7c4a3c8c
commit
42207a64e2
|
@ -43,7 +43,7 @@
|
|||
bool EmuX86_DecodeException(LPEXCEPTION_POINTERS e)
|
||||
{
|
||||
// Only decode instructions within Xbox memory space
|
||||
if (e->ContextRecord->Eip > XBOX_MEMORY_SIZE) {
|
||||
if (e->ContextRecord->Eip > XBOX_MEMORY_SIZE && e->ContextRecord->Eip < 0x10000) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue