mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Use -fno-exceptions in cmake. On MSVC, enable _HAS_EXCEPTION=0. Cleanup throw/catch from the source. Create yaml.cpp enclave because it needs exception to work. Disable thread_local optimizations in logs.cpp (TODO). Implement cpu_counter for cpu_threads (moved globals).
11 lines
165 B
C++
11 lines
165 B
C++
#include <string>
|
|
#include "Utilities/Thread.h"
|
|
|
|
namespace cereal
|
|
{
|
|
[[noreturn]] void throw_exception(const std::string& err)
|
|
{
|
|
report_fatal_error(err);
|
|
}
|
|
}
|