Don't attempt to decode instructions that are at a lower address than the XBE base address

This commit is contained in:
Luke Usher 2016-10-06 09:53:59 +01:00
parent ac7c4a3c8c
commit 42207a64e2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}