mirror of https://github.com/PCSX2/pcsx2.git
gsdx sw: catch xbyak exception
This commit is contained in:
parent
0fd5346860
commit
681c09f25c
|
@ -114,7 +114,11 @@ GSDrawScanlineCodeGenerator::GSDrawScanlineCodeGenerator(void* param, uint64 key
|
||||||
if(m_sel.breakpoint)
|
if(m_sel.breakpoint)
|
||||||
int3();
|
int3();
|
||||||
|
|
||||||
Generate();
|
try {
|
||||||
|
Generate();
|
||||||
|
} catch (std::exception& e) {
|
||||||
|
fprintf(stderr, "ERR:GSDrawScanlineCodeGenerator %s\n", e.what());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if _M_SSE >= 0x501
|
#if _M_SSE >= 0x501
|
||||||
|
|
|
@ -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.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;
|
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
|
#if _M_SSE >= 0x501
|
||||||
|
|
Loading…
Reference in New Issue