mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Disable exception handling.
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).
This commit is contained in:
parent
47bbfdd2aa
commit
04dedb17eb
39 changed files with 421 additions and 437 deletions
10
rpcs3/util/cereal.cpp
Normal file
10
rpcs3/util/cereal.cpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <string>
|
||||
#include "Utilities/Thread.h"
|
||||
|
||||
namespace cereal
|
||||
{
|
||||
[[noreturn]] void throw_exception(const std::string& err)
|
||||
{
|
||||
report_fatal_error(err);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue