mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-12 17:20:07 +01:00
Common: Get rid of pxTrap()
wx rubbish, no longer needed
This commit is contained in:
1 parent
6aeca2c1e3
commit
43afeb205f
3 files changed
-22
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user