Common: Get rid of pxTrap()

wx rubbish, no longer needed
This commit is contained in:
Stenzek authored and lightningterror committed 2022-12-25 14:47:05 +01:00
1 parent 6aeca2c1e3
commit 43afeb205f
3 files changed
-22

No files matched your search

-12
View File
@@ -31,18 +31,6 @@
#include <signal.h>
#endif
// Because wxTrap isn't available on Linux builds of wxWidgets (non-Debug, typically)
void pxTrap()
{
#if defined(_WIN32)
__debugbreak();
#elif defined(__UNIX__)
raise(SIGTRAP);
#else
abort();
#endif
}
static std::mutex s_assertion_failed_mutex;
static inline void FreezeThreads(void** handle)