mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12: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).
10 lines
165 B
C++
10 lines
165 B
C++
#include <string>
|
|
#include "Utilities/Thread.h"
|
|
|
|
namespace cereal
|
|
{
|
|
[[noreturn]] void throw_exception(const std::string& err)
|
|
{
|
|
report_fatal_error(err);
|
|
}
|
|
}
|