Restore try/catch from previous pull request.
This commit is contained in:
parent
866f986136
commit
9f6be941f4
|
@ -97,18 +97,14 @@ public:
|
||||||
m_Pending = false;
|
m_Pending = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_SEH
|
|
||||||
__try {
|
__try {
|
||||||
#endif // USE_SEH
|
|
||||||
BOOLEAN(__stdcall *ServiceRoutine)(xboxkrnl::PKINTERRUPT, void*) = (BOOLEAN(__stdcall *)(xboxkrnl::PKINTERRUPT, void*))Interrupt->ServiceRoutine;
|
BOOLEAN(__stdcall *ServiceRoutine)(xboxkrnl::PKINTERRUPT, void*) = (BOOLEAN(__stdcall *)(xboxkrnl::PKINTERRUPT, void*))Interrupt->ServiceRoutine;
|
||||||
BOOLEAN result = ServiceRoutine(Interrupt, Interrupt->ServiceContext);
|
BOOLEAN result = ServiceRoutine(Interrupt, Interrupt->ServiceContext);
|
||||||
#ifdef USE_SEH
|
|
||||||
}
|
}
|
||||||
__except (EmuException(GetExceptionInformation()))
|
__except (EmuException(GetExceptionInformation()))
|
||||||
{
|
{
|
||||||
EmuWarning("Problem with ExceptionFilter!");
|
EmuWarning("Problem with ExceptionFilter!");
|
||||||
}
|
}
|
||||||
#endif // USE_SEH
|
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
bool m_Asserted = false;
|
bool m_Asserted = false;
|
||||||
|
|
Loading…
Reference in New Issue