diff --git a/plugins/GSdx/GSDrawScanlineCodeGenerator.cpp b/plugins/GSdx/GSDrawScanlineCodeGenerator.cpp index 8307e9e99c..99d2935d38 100644 --- a/plugins/GSdx/GSDrawScanlineCodeGenerator.cpp +++ b/plugins/GSdx/GSDrawScanlineCodeGenerator.cpp @@ -114,7 +114,11 @@ GSDrawScanlineCodeGenerator::GSDrawScanlineCodeGenerator(void* param, uint64 key if(m_sel.breakpoint) int3(); - Generate(); + try { + Generate(); + } catch (std::exception& e) { + fprintf(stderr, "ERR:GSDrawScanlineCodeGenerator %s\n", e.what()); + } } #if _M_SSE >= 0x501 diff --git a/plugins/GSdx/GSSetupPrimCodeGenerator.cpp b/plugins/GSdx/GSSetupPrimCodeGenerator.cpp index 3735ec9a41..d69f52e535 100644 --- a/plugins/GSdx/GSSetupPrimCodeGenerator.cpp +++ b/plugins/GSdx/GSSetupPrimCodeGenerator.cpp @@ -75,7 +75,11 @@ GSSetupPrimCodeGenerator::GSSetupPrimCodeGenerator(void* param, uint64 key, void m_en.t = m_sel.fb && m_sel.tfx != TFX_NONE ? 1 : 0; m_en.c = m_sel.fb && !(m_sel.tfx == TFX_DECAL && m_sel.tcc) ? 1 : 0; - Generate(); + try { + Generate(); + } catch (std::exception& e) { + fprintf(stderr, "ERR:GSSetupPrimCodeGenerator %s\n", e.what()); + } } #if _M_SSE >= 0x501