Dont call std::terminate() after normal access violation handling

This commit is contained in:
eladash 2019-01-28 12:46:32 +02:00 committed by Ivan
parent 6f770c8e35
commit b61492ca30

View file

@ -1123,7 +1123,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
g_tls_fault_rsx++; g_tls_fault_rsx++;
if (cpu && cpu->test_stopped()) if (cpu && cpu->test_stopped())
{ {
std::terminate(); //
} }
return true; return true;
@ -1265,7 +1265,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
{ {
if (cpu && cpu->test_stopped()) if (cpu && cpu->test_stopped())
{ {
std::terminate(); //
} }
return true; return true;