From 9f6be941f40c5c878e150b7b7f98c8853ef7e82a Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Thu, 19 Jul 2018 13:12:22 -0500 Subject: [PATCH] Restore try/catch from previous pull request. --- src/CxbxKrnl/EmuKrnl.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/CxbxKrnl/EmuKrnl.h b/src/CxbxKrnl/EmuKrnl.h index 0c03fb115..2a32f9466 100644 --- a/src/CxbxKrnl/EmuKrnl.h +++ b/src/CxbxKrnl/EmuKrnl.h @@ -97,18 +97,14 @@ public: m_Pending = false; } -#ifdef USE_SEH __try { -#endif // USE_SEH BOOLEAN(__stdcall *ServiceRoutine)(xboxkrnl::PKINTERRUPT, void*) = (BOOLEAN(__stdcall *)(xboxkrnl::PKINTERRUPT, void*))Interrupt->ServiceRoutine; BOOLEAN result = ServiceRoutine(Interrupt, Interrupt->ServiceContext); -#ifdef USE_SEH } __except (EmuException(GetExceptionInformation())) { EmuWarning("Problem with ExceptionFilter!"); } -#endif // USE_SEH } private: bool m_Asserted = false;