mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 06:48:22 -04:00
ams_mitm: update for new sf semantics
This commit is contained in:
parent
5751bcc117
commit
e87e146112
36 changed files with 293 additions and 489 deletions
|
@ -196,16 +196,8 @@ extern "C" {
|
|||
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
constinit ams::os::Mutex g_abort_lock(true);
|
||||
|
||||
}
|
||||
|
||||
/* Custom abort handler, so that std::abort will trigger these. */
|
||||
void abort() {
|
||||
std::scoped_lock lk(g_abort_lock);
|
||||
|
||||
ams::AbortImpl();
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue