From 061f69b6f37cdc1ebc6d26825299c4a2ee38096c Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 29 Oct 2015 21:52:48 -0400 Subject: [PATCH] [RSP] Execute recompiler CPU without SEH for non-MSVC. --- Source/RSP/Recompiler CPU.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/RSP/Recompiler CPU.c b/Source/RSP/Recompiler CPU.c index 64fceaf66..ff69c3ba5 100644 --- a/Source/RSP/Recompiler CPU.c +++ b/Source/RSP/Recompiler CPU.c @@ -905,6 +905,7 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) { } memset(&RspCode, 0, sizeof(RspCode)); +#if defined(_MSC_VER) __try { BuildBranchLabels(); DetectGPRConstants(&RspCode); @@ -914,6 +915,11 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) { ClearAllx86Code(); continue; } +#else + BuildBranchLabels(); + DetectGPRConstants(&RspCode); + CompilerRSPBlock(); +#endif Block = *(JumpTable + (*PrgCount >> 2));